> For the complete documentation index, see [llms.txt](https://docs.cotter.app/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.cotter.app/sdk-reference/web/sign-in-with-social-login-provider/github-instructions.md).

# Github Instructions

How to get a Client ID and Client Secret from Github, and what to fill in for the Authorization Callback URL.

## Making Github OAuth Apps

1. Go to the [Dashboard](https://dev.cotter.app/) > Social Login > New Login Connection > Github.
2. Follow [Github's instruction on making a Github OAuth App](https://docs.github.com/en/developers/apps/creating-an-oauth-app). Enter your website/app's information as instructed.
3. At Step 8 about **Authorization callback URL**, enter the following: `https://www.cotter.app/api/v0/oauth/token/callback/GITHUB`
4. Copy your Client ID, Client Secret Key, and [Scopes](https://docs.github.com/en/developers/apps/scopes-for-oauth-apps) to your Dashboard > Social Login > Github:

![Enter your Client ID, Client Secret, and Scopes](https://107069962-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M0QGDMRD8y_Kd-BpOvT%2F-MGMMASd6kzR8JDkDiP3%2F-MGMOSGx-ajL6KE9Bh8k%2Fimage.png?alt=media\&token=3ebb9660-d144-4a3c-8c2e-d3de99457c53)

### That's it!

Go back to the [Social Login instructions](/sdk-reference/web/sign-in-with-social-login-provider.md#setting-up-social-login-provider) to finish your setup.
