nileshkr17/Authly

Service 2: OAuth Integration (Google & GitHub)

Open

#5 opened on 2025年10月4日

GitHub で見る
 (4 comments) (0 reactions) (1 assignee)TypeScript (5 forks)auto 404
Hacktoberfesthacktoberfest-accepted

Repository metrics

Stars
 (1 star)
PR merge metrics
 (PR metrics pending)

説明

Objective

Allow login via Google and GitHub OAuth.


Google OAuth Flow

  • GET /api/oauth/google → initiate OAuth
  • GET /api/oauth/google/callback → handle callback and JWT issuance

GitHub OAuth Flow

  • GET /api/oauth/github → initiate OAuth
  • GET /api/oauth/github/callback → handle callback and JWT issuance

OAuth User Linking

  • Link OAuth accounts to existing users if email exists.
  • Auto-create new user if no account exists.

コントリビューターガイド