usefulteam / jwt-auth

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

jwt_auth_no_auth_header when enabling plugin #54

Open dwoodwardyt opened 2 years ago

dwoodwardyt commented 2 years ago

Hi, i am currently using your plugin and it works fine. Now we are using a library plugin to manage images better. But after we enable it, we get an error:

{ "success": false, "statusCode": 403, "code": "jwt_auth_no_auth_header", "message": "Authorization header not found.", "data": [] }

Plugin installed: https://de.wordpress.org/plugins/filebird/

When disabling it, everything works fine again. Any ideas?

mikmikmik commented 2 years ago

Maybe it modifies your .htaccess and hijack the modrewrite rules

dominic-ks commented 2 years ago

Hello @dwoodwardyt it is likely that you need to whitelist the endpoints or namesapce for that plugin's API requests - https://github.com/usefulteam/jwt-auth#whitelisting-endpoints

organgebear commented 1 year ago

I am a novice, I just according to the document configuration wp-contig.php and. htaccess or tip 403 now { "success": false, "statusCode": 403, "code": "jwt_auth_no_auth_header", "message": "Authorization header not found.", "data": [] } htaccess wp-config.php Now I don't know what to do to get the token, please help me to thank you very much