Prerequisites
- A GitHub account
- Your GitHub OAuth Client ID and Client Secret
Configure GitHub OAuth
1
Create an OAuth App on GitHub
- Go to GitHub Developer Settings
- Click OAuth Apps > New OAuth App
- Enter an Application name (e.g. “Prelude Auth”)
- Enter the Homepage URL of your application
- Set the Authorization callback URL to:
${YOUR_CUSTOM_DOMAIN} with your custom domain (e.g. session.yourapp.com).- Click Register application
- Copy the Client ID
- Click Generate a new client secret and copy the Client Secret
The callback URL must match exactly. Make sure there is no trailing slash and that you are using
https.2
Create the GitHub OAuth configuration