Skip to content

What authentication flow should I use? #24474

Discussion options

You must be logged in to vote

@herlanassisThe OAuth flow needs to happen in your back-end service since it needs to communicate securely with GitHub’s API using private tokens. With the architecture you’re describing, your front-end should have a “Sign in with GitHub” button that links to some URL in your back-end service that’ll kick off the OAuth process by redirecting to GitHub.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants