Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Other plugin endpoints get jwt_auth_bad_auth_header response code #229

Open
obrunopolo opened this issue Dec 2, 2021 · 1 comment
Open

Comments

@obrunopolo
Copy link

This plugins eliminates possibilites of using "Authorization" headers in other endpoints. I have a plugin that has one endpoint using Basic Auth, and I cant use it anymore, because it gets jwt_auth_bad_auth_header response.

I believe there should be a way where this code can only be returned in jwt-auth/v1 endpoints.

I guess this is quite well explained.

@pesseba
Copy link

pesseba commented Dec 2, 2021

Try this other plugin:
https://github.com/usefulteam/jwt-auth
It is based in wp-api-jwt-auth

This other plugin has a filter to skip this problem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants