OAuth Token Endpoint: https://github.com/login/oauth/access_token Returns wrong Content-Type #101123
Unanswered
wparad
asked this question in
Apps, API and Webhooks
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Select Topic Area
Bug
Body
There is a bug with the Oauth token endpoint https://github.com/login/oauth/access_token. The one documented here
By default and according to the documentation:
However, in this same response, the
Content-Typereturned via the request is incorrectly set to beapplication/json. The response Content-Type is wrong, and should be set to beapplication/x-www-form-urlencoded.The corrected behavior would be to have the header corrected.
Beta Was this translation helpful? Give feedback.
All reactions