I am getting an access_token from third party successful login.Now i want to decode this token using tymon/jwt-auth and get the payload from that token. When i try to decode same token using JWT IO debugger, it successfully decodes the token and payload is as expected. But in laravel when i try to convert that using following code
$payload = JWTAuth::decode(new Tymon\JWTAuth\Token($token))
I am getting error something like this:
Token Signature could not be verified
Can anyone please help me with these? Thanks!