usefulteam / jwt-auth

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

kid empty, unable to lookup correct key #74

Closed Sutolix closed 1 year ago

Sutolix commented 2 years ago

When I try to make a request using the authentication token I get the following error:

{
    "success": false,
    "statusCode": 403,
    "code": "jwt_auth_invalid_token",
    "message": "\"kid\" empty, unable to lookup correct key",
    "data": []
}
dominic-ks commented 1 year ago

Hey @Sutolix, I've seen this error on sites where another WP plugin is using firebase/php-jwt 6.X and this plugin has been using 5.2 for a while, so it's likely clashing with that.

There should hopefully be an update to the php-jwt lib on this plugin soon which will make that go away.

sun commented 1 year ago

Seems like this has been with resolved with #76