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

Updating auth header to use Bearer #281

Merged
merged 1 commit into from
Jul 9, 2023

Conversation

housekelly
Copy link
Contributor

Not able to get this to work on latest GHES instance and noticed it's using 'token' as the auth header. Tested in postman and works only using 'Bearer'.

https://docs.github.com/en/enterprise-server@3.8/rest/overview/authenticating-to-the-rest-api#about-authentication

@housekelly
Copy link
Contributor Author

@sindresorhus any issues with the above ?

@sindresorhus sindresorhus merged commit 2b9635c into sindresorhus:main Jul 9, 2023
@housekelly housekelly deleted the bearertoken branch July 9, 2023 17:52
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.

2 participants