usefulteam / jwt-auth

WordPress JSON Web Token Authentication
https://wordpress.org/plugins/jwt-auth/
124 stars 50 forks source link

2.0 - Error "Token is obsolete" with "password changed" #40

Closed cedricDevWP closed 3 years ago

cedricDevWP commented 3 years ago

Hello,

Since the update I have problems with the validation of the JWT token.

In class-auth.php when apply filter "jwt_auth_extra_token_check" in line 391, i have a payload with object(stdClass)#897 (1) { [ "user" ]=> object(stdClass)#896 (1) { [ "id" ]=> int(35) } }

And so, i don't have "$payload->data->user->pass" in file "class-devices.php" line 99.

do you have any advice to solve my problem?

cedricDevWP commented 3 years ago

Ok my bad, i don't have generate a new Token (i have old token with end date in 01/01/3000)