This demonstrates how to add an OAuth 2.0 provider to your Epic Stack
application. It uses GitHub, but the changes would be very similar for any other
OAuth 2.0 provider with a
remix-auth
strategy.
The easiest way to review the changes is to look at the commits. Here are the highlights:
remix-auth-github
and setup a GitHub app as documented inremix-auth-github
GitHubStrategy
to the available strategies for your authenticator./auth/github
./auth/github
that callsauthenticate
with the GitHubStrategy
./auth/github/callback
GitHub callback. Itauthenticate
with the GitHubStrategy
again. Do the same thing