βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ β π shadcn/directory/clerk/clerk-docs/guides/configure/auth-strategies/social-connections/github β βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β
title: Add GitHub as a social connection description: Learn how to allow users to sign up and sign in to your Clerk app with their GitHub account using OAuth.
<TutorialHero beforeYouStart={[ { title: "A Clerk app is required.", link: "/docs/getting-started/quickstart/setup-clerk", icon: "clerk", }, { title: "A GitHub account is required.", link: "https://github.com/signup", icon: "user-circle", }, ]} />
Enabling OAuth with GitHub allows your users to sign up and sign in to your Clerk app with their GitHub account.
For development instances, Clerk uses preconfigured shared OAuth credentials and redirect URIsβno other configuration is needed.
For production instances, you must provide custom credentials.
To make the setup process easier, it's recommended to keep two browser tabs open: one for the Clerk Dashboard and one for GitHub's Developer Settings.
<Steps> ### Enable GitHub as a social connection in Clerkβ β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ