Watch: Let developers log in with GitHub | Vovy

Watch Vovy do it on a Mac: "Add a Sign in with GitHub button to my app". Vovy registers a GitHub OAuth App, connects it to Supabase Auth, and adds a GitHub login button. A quick win for developer tools.

"Add a Sign in with GitHub button to my app"

Vovy registers a GitHub OAuth App, connects it to Supabase Auth, and adds a GitHub login button. A quick win for developer tools.

What happens in the video

  1. Register a GitHub OAuth App: Vovy opens Settings, Developer settings, OAuth Apps, New OAuth App on GitHub, fills in your homepage and sets the Authorization callback URL to your Supabase callback.
  2. Generate a client secret: It clicks Generate a new client secret and copies it straight into Supabase. GitHub shows the secret only once.
  3. Turn on GitHub in Supabase: Vovy pastes the Client ID and secret into Authentication, Sign In / Providers, GitHub, and saves.
  4. Add the button: In Cursor it adds a GitHub button that calls signInWithOAuth with provider set to github.
  5. Test and show the result: Vovy clicks through in Chrome, you approve the GitHub prompt, and a card shows the new user with their GitHub username and avatar.
Read the step-by-step guide