Obtain a Client Id and Client Secret for GitHub

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

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

1. Add a new application

Log into GitHub and go to Register new application:

2. Register your new app

Complete the information on this page then click Register application. The callback address for your app will be:

https://YOUR_AUTH0_DOMAIN/login/callback

3. Get your 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 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 initiate login using Lock, Auth0.js, or the Authentication API endpoint.

For detailed instructions and samples for a variety of technologies, refer to our quickstarts:

For more background information on client authentication refer to Client Authentication.