Skip to content

feat: GitHub OAuth login #4

Description

@Ali7040

Add GitHub OAuth via passport-github2:

  • GET /auth/github — redirect to GitHub
  • GET /auth/github/callback — handle callback, create/link user, redirect to web app with tokens
  • Link githubId to existing account if email matches
  • Store avatarUrl from GitHub profile

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions