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

Setting the 'Accept' header on token requests. #152

Merged
merged 2 commits into from
Aug 22, 2024
Merged

Conversation

evert
Copy link
Collaborator

@evert evert commented Aug 22, 2024

By default Github will return urlencoded data when doing requests on the
token endpoint. Setting this accept header ensures we're getting JSON
back.

This is non-standard, but there's no harm.

See #151

By default Github will return urlencoded data when doing requests on the
token endpoint. Setting this accept header ensures we're getting JSON
back.

This is non-standard, but there's no harm.

See #151
@evert evert merged commit 19cae3c into main Aug 22, 2024
6 checks passed
@evert evert deleted the accept-on-token-requests branch August 22, 2024 04:56
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

Successfully merging this pull request may close these issues.

1 participant