Skip to content

405 Error method not allowed #43

Answered by soofstad
syntrydy asked this question in Q&A
Discussion options

You must be logged in to vote

This should be fairly simple. The library does a Cross-origin POST request to your token URL.
The token server does not allow for POST requests at that location, which it should per the OAuth2 spec.

If you are writing this token endpoint yourself, you need to change it to accept POST. If there is someone else who maintain the token API, you should file an issue at them, and tell them to keep to the spec 🙂

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by sebastianvitterso
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants