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

<Steps>
  <Step title="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.
  </Step>

  <Step title="Create a new application">
    Click **New OAuth App** or **Register a new application** depending on whether you have other applications or not.
  </Step>

  <Step title="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.
  </Step>
</Steps>

## Configure your GitHub OAuth client in Stytch

<Steps>
  <Step title="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.</Note>
  </Step>

  <Step title="Select your application">
    Click on the application you'd like to use with Stytch.
  </Step>

  <Step title="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.
  </Step>
</Steps>
