<commit_before>---
title: Connect your app to GitHub
connection: Github
image: /media/connections/github.png
seo_alias: github
index: 7
description: How to obtain a Client Id and Client Secret for GitHub.
---

# 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](#next-steps) below.

## 1. Add a new application

To add a new application, login to [GitHub](https://github.com/) and go to **OAuth applications** in your [developer settings](https://github.com/settings/developers). Next click [Register a new application](https://github.com/settings/applications/new).

![](/media/articles/connections/social/github/github-add-app-1.png)

## 2. Register your new app

On the [Register a new application](https://github.com/settings/applications/new) page fill out the form with the following information:

| Field | Description |
| - | - |
| Application name | The name of your app |
| Homepage URL | `https://${account.namespace}` |
| Application description | The description of your app users will see (Optional) |
| Authorization callback URL | `https://${account.namespace}/login/callback` |

![](/media/articles/connections/social/github/github-add-app-2.png)

After completing the form click **Register application** to proceed.

## 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:

![](/media/articles/connections/social/github/github-add-app-3.png)

### 4. Copy your *Client Id* and *Client Secret*

Go to your [Auth0 Dashboard](${manage_url}) 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.

![](/media/articles/connections/social/github/github-add-app-4.png)<commit_msg>Remove italics<commit_after>---
title: Connect your app to GitHub
connection: Github
image: /media/connections/github.png
seo_alias: github
index: 7
description: How to obtain a Client Id and Client Secret for GitHub.
---

# 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](#next-steps) below.

## 1. Add a new application

To add a new application, login to [GitHub](https://github.com/) and go to **OAuth applications** in your [developer settings](https://github.com/settings/developers). Next click [Register a new application](https://github.com/settings/applications/new).

![](/media/articles/connections/social/github/github-add-app-1.png)

## 2. Register your new app

On the [Register a new application](https://github.com/settings/applications/new) page fill out the form with the following information:

| Field | Description |
| - | - |
| Application name | The name of your app |
| Homepage URL | `https://${account.namespace}` |
| Application description | The description of your app users will see (Optional) |
| Authorization callback URL | `https://${account.namespace}/login/callback` |

![](/media/articles/connections/social/github/github-add-app-2.png)

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:

![](/media/articles/connections/social/github/github-add-app-3.png)

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

Go to your [Auth0 Dashboard](${manage_url}) 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.

![](/media/articles/connections/social/github/github-add-app-4.png)
{'fraction_non_alphanumeric': 0.11715889675372224, 'fraction_numerical': 0.005857944837686112, 'mean_word_length': 4.5528455284552845, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 12, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '508639', 'n_tokens_mistral': 1169, 'n_tokens_neox': 1097, 'n_words': 460}