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

Required to check for issuing domain? #69

Open
axlright opened this issue Oct 24, 2020 · 0 comments
Open

Required to check for issuing domain? #69

axlright opened this issue Oct 24, 2020 · 0 comments

Comments

@axlright
Copy link

Looking for a JWT solution that can generate and use a consistent token across multiple domains including production, staging and local. One of the benefits of JSON Web Tokens is their ability to work across different server domains.

The original JWT Authentication for WP REST API plugin by Enrique Chavez requires that the iss domain match the sending domain of the POST request, or else an error is thrown like The iss do not match with this server"

Can this re-boot of the plugin not check for issuing domain? Not all JWTs require the sending domain match a domain in a parameter in the token. To get to the full benefit of JWTs, it'd be cool to get rid of the requirement for the issuing domain to match the domain of the POST request.

Thanks for any feedback.

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

1 participant