jwt-auth icon indicating copy to clipboard operation
jwt-auth copied to clipboard

jwt_auth_no_auth_header when enabling plugin

Open dwoodwardyt opened this issue 3 years ago • 3 comments

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?

dwoodwardyt avatar Feb 11 '22 15:02 dwoodwardyt

Maybe it modifies your .htaccess and hijack the modrewrite rules

mikmikmik avatar Mar 18 '22 18:03 mikmikmik

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

dominic-ks avatar Oct 06 '22 10:10 dominic-ks

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

organgebear avatar Feb 22 '23 01:02 organgebear