-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Labels
Status: Up for grabsIssues that are ready to be worked on by anyoneIssues that are ready to be worked on by anyoneType: BugSomething isn't working as documentedSomething isn't working as documented
Description
What happened?
The following API responds with a 404 {"error":"Not Found"} error: https://github.com/login/oauth/access_token.
I have tried the following approaches:
- cURL call
- new Octokit(
- createOAuthUserAuth(
Versions
octokit 3.1.2
Relevant log output
$ curl -X POST \
-H "Content-Type: application/x-www-form-urlencoded" \
-H "User-Agent: axios/0.21.1" \
-H "Accept: application/json" \
-d "client_id=XXXXXX" \
-d "client_secret=XXXXXXX" \
-d "grant_type=authorization_code" \
-d "code=XXXXXX" \
-d "redirect_uri=https://example.com" \
https://github.com/login/oauth/access_token
{"error":"Not Found"}Code of Conduct
- I agree to follow this project's Code of Conduct
Metadata
Metadata
Assignees
Labels
Status: Up for grabsIssues that are ready to be worked on by anyoneIssues that are ready to be worked on by anyoneType: BugSomething isn't working as documentedSomething isn't working as documented
Type
Projects
Status
🔥 Backlog