Course lesson
Set up GitHub OAuth for a Next.js 13 Application
First thing we'll do is navigate to Github's Developer Settings to register a new OAuth application.
- Duration
- 3 min
- Access
- Free
- Transcript
- Retained from source evidence
First thing we'll do is navigate to Github's Developer Settings to register a new OAuth application.
Here we will set the app name, url, and callback url both for the development environment.
We will copy the Client ID and generate secrets and set them in our .env.
Finally we'll generate a NEXTAUTH_SECRET with the openssl cli tool to generate a random, secure string.