GitHub Social Connection
This guide outlines the steps to configure GitHub as a social login provider in AuthAction for a production environment.
Step 1: Create a GitHub OAuth Application
Section titled “Step 1: Create a GitHub OAuth Application”- Go to GitHub Developer Settings.
- Click on New OAuth App.
- Fill in the required details:
- Application name: Your application name
- Homepage URL: Your website URL
- Authorization callback URL:
https://<tenant-name>.<region>.authaction.com/oauth2/login/callback
- Click Register application.
Step 2: Retrieve Client ID and Client Secret
Section titled “Step 2: Retrieve Client ID and Client Secret”- After registering the application, navigate to the application details page.
- Copy the Client ID.
- Click Generate a new client secret and copy the Client Secret.
Step 3: Configure GitHub Connection in AuthAction
Section titled “Step 3: Configure GitHub Connection in AuthAction”- Log in to the AuthAction dashboard.
- Navigate to Connections → Social Connections.
- Click Add Connection and select GitHub.
- Enter the Client ID and Client Secret obtained from GitHub.
- Click Save.
Step 4: Enable GitHub Connection for Applications
Section titled “Step 4: Enable GitHub Connection for Applications”- In the AuthAction dashboard, navigate to Applications.
- Select the application for which you want to enable GitHub login.
- Go to the Connections tab and enable the GitHub connection.
Step 5: Test GitHub Login
Section titled “Step 5: Test GitHub Login”- Visit your application’s login page.
- Click on Login with GitHub.
- Authenticate with GitHub and verify successful login.
Your application is now configured to allow users to log in using GitHub in production.