OAuth Token Endpoint: https://github.com/login/oauth/access_token Returns wrong Content-Type #101123
Unanswered
wparad
asked this question in
API and Webhooks
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
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-Type
returned 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