Open kbumsik opened 1 year ago
Thanks for opening this issue. A GitHub docs team member should be by to give feedback soon. In the meantime, please check out the contributing guidelines.
@kbumsik Thanks so much for opening an issue! I'll triage this for the team to take a look :eyes:
Thank you for opening this issue! Changes to the REST API schema can be requested in github/rest-api-description. I will transfer your issue over to that open source repo.
👋 @cmwilson21 I'm going to move this back to the docs repository. As far as I can tell, this is not a problem in the schema, this is a problem in the code sample, which is generated by code which is in the docs repository.
Specifically, this part of the sample generator doesn't seem to know about basic authentication, so it just generates auth headers with a token:
@cmwilson21 Ah, seems like I don't have permission to transfer it back to github/docs, not sure why that it. Could I trouble you to do it for me? 🙏 Thanks!
Code of Conduct
What article on docs.github.com is affected?
All endpoints in https://docs.github.com/en/free-pro-team@latest/rest/apps/oauth-applications?apiVersion=2022-11-28
What part(s) of the article would you like to see updated?
In the whole page, the doc clearly states that you must use Basic Authentication for OAuth Authorizations endpoints.
However, the code samples use token authentication, which is NOT working.
For example, it should be fixed like below:
Additional information