> ## Documentation Index
> Fetch the complete documentation index at: https://stytch.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# GitHub

> Configure GitHub OAuth for Multi-Tenant Authentication.

## Create a new GitHub OAuth client

**1. Navigate to GitHub OAuth Applications**

Go to [GitHub OAuth Applications](https://github.com/settings/developers). For more information, check out GitHub's [Creating an OAuth App](https://docs.github.com/en/developers/apps/building-oauth-apps/creating-an-oauth-app) guide.

**2. Create a new application**

Click **New OAuth App** or **Register a new application** depending on whether you have other applications or not.

**3. Configure the Authorization callback URL**

Copy the Stytch redirect URI from the [Dashboard](https://stytch.com/dashboard/oauth) and paste it into the **Authorization callback URL** field. Fill in the remaining fields as needed.

## Configure your GitHub OAuth client in Stytch

**1. Navigate to your GitHub OAuth Application**

Go to [GitHub OAuth Applications](https://github.com/settings/developers). If you're using an organization OAuth Application, navigate to the organization's **Developer Settings** tab.

> [!NOTE]
>
> This requires admin privileges for organization applications.

**2. Select your application**

Click on the application you'd like to use with Stytch.

**3. Add the Stytch redirect URI**

Copy the Stytch redirect URI from the [Dashboard](https://stytch.com/dashboard/oauth) and paste it into the **Authorization callback URL** field.
