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

> Set up GitHub OAuth for Consumer Authentication.

## Setup

*Follow these steps if you have not created a Github OAuth client yet.*

1. Navigate to [Github OAuth Applications](https://github.com/settings/developers). For more information, check out Github's **Creating an OAuth App** guide [here](https://docs.github.com/en/developers/apps/building-oauth-apps/creating-an-oauth-app).
2. Click **New OAuth App** or **Register a new application** depending on if you have other applications or not.
3. Copy-paste the Stytch redirect URI from the [Dashboard](https://stytch.com/dashboard/oauth) into the **Authorization callback URL** field Fill in remaining fields how you see fit.

***

*Follow these steps if you already have an existing Github OAuth client.*

1. Navigate 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.
2. Click on the application you'd like to use.
3. Copy-paste the Stytch redirect URI from the [Dashboard](https://stytch.com/dashboard/oauth) into the **Authorization callback URL** field.
