Connect your app to GitHub

To configure a GitHub connection, you will need to register Auth0 with GitHub.

This doc refers to the steps to connect your client. If you are looking to manage authentication in your application, see Next Steps below.

1. Add a new application

To add a new application, log in to GitHub and go to OAuth applications in your developer settings. Next click Register a new application.

2. Register your new app

On the Register a new application page fill out the form with the following information:

Field Description
Application name The name of your app
Homepage URL https://YOUR_AUTH0_DOMAIN
Application description The description of your app users will see (Optional)
Authorization callback URL https://YOUR_AUTH0_DOMAIN/login/callback

After completing the form click Register application to proceed.

3. Get your GitHub app's Client ID and Client Secret

Once the application is registered, your app's Client ID and Client Secret will be displayed on the following page:

4. Copy your GitHub app's Client ID and Client Secret

Go to your Auth0 Dashboard and select Connections > Social, then choose Github. Copy the Client ID and Client Secret from the Developer Applications of your app on Github into the fields on this page on Auth0.

Next Steps

Now that you have a working connection, the next step is to configure your application to use it. You can follow our step-by-step quickstarts or use directly our libraries and API.