Follow this link to create a new app filling the following required details on creation:
Homepage URL: http://localhost:3000
Authorization callback URL: http://localhost:3000/api/auth/callback/github
Once completed, you will be redirected to the application page settings, from
there create the client secret by clicking on Generate a new client secret
button.
Next, copy the client secret generated and the client ID into the .env
file,
replacing <client_id>
and <client_secret>
, respectively:
GITHUB_ID=<client_id>
GITHUB_SECRET=<client_secret>
Follow this link to create a new project on Google Developer Console.
📝 Note: If you've already have project on your Google Developer Console, you could skip the first step above
Create your oauth-client