Remix Auth

Integrating Github Authentication
πŸ‘¨β€πŸ’Ό Let's start out by getting Remix Auth set up with the GitHub strategy. First, you'll need to get the environment variables set in
.env
and
app/utils/env.server.ts
.
Then we'll go to
app/utils/auth.server.ts
to make our authenticator instance with the connectionSessionStorage Kellie made for us in
app/utils/connections.server.ts
.
Then you'll add the GitHubStrategy to the authenticator with authenticator.use. If the GitHub profile doesn't have an email then redirect to /login (this can happen if none of their email addresses are verified).
Kody 🐨 should be able to help you out from here. Good luck!

Please set the playground first

Loading "Remix Auth"
Loading "Remix Auth"