Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

implemented basic setup for Github login #81

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

MaximilianLloyd
Copy link

Steps to get it up and running

Create a github application -> https://github.com/settings/apps/

Setup client, secret and redirect

  1. copy the clientId to GITHUB_CLIENT_ID in env variables.
  2. Create a secret and copy to GITHUB_CLIENT_SECRET.
  3. Setup redirect URL http://localhost:3000/api/auth/callback/github
    image
  4. Save your changes

Preview

Signed in

image

Signed out

image

You should now be able to sign in by clicking the sign in button in the Navbar

@vercel
Copy link

vercel bot commented May 8, 2023

@MaximilianLloyd is attempting to deploy a commit to the trpc Team on Vercel.

A member of the Team first needs to authorize it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant