Add Social Authentication
Create a GitHub OAuth App
In this app, we will use GitHub as the social login provider. So, we need to create a GitHub OAuth app and get some credentials.
Here's how to do it:
When you are doing that, GitHub will ask a value for the "Authorization callback URL". Use this for that:
Then create a file called .env.local in your app and add the following content:
GITHUB_CLIENT_ID=<enter GitHub app's client id> GITHUB_CLIENT_SECRET=<enter GitHub app's client secret>
Let me ask you a question: