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

Serverless function to exchange github app auth code to access token #1

Closed
siavol opened this issue Aug 19, 2024 · 0 comments · Fixed by #2
Closed

Serverless function to exchange github app auth code to access token #1

siavol opened this issue Aug 19, 2024 · 0 comments · Fixed by #2

Comments

@siavol
Copy link
Owner

siavol commented Aug 19, 2024

It should handle the auth flow from https://docs.github.com/en/apps/creating-github-apps/authenticating-with-a-github-app/generating-a-user-access-token-for-a-github-app#using-the-web-application-flow-to-generate-a-user-access-token

Exchange the code from the previous step for a user access token by making a POST request to this URL, along with the following query parameters: https://github.com/login/oauth/access_token

@siavol siavol linked a pull request Aug 22, 2024 that will close this issue
@siavol siavol closed this as completed in #2 Aug 24, 2024
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 a pull request may close this issue.

1 participant