Skip to content

Authentication via external providers (Google, GitHub, etc.) #28

Description

@mrsumanbiswas

Allow users to sign up / log in using OAuth2 providers in addition to the existing password method.

Backend

  • Add endpoints for OAuth2 redirect/callback (e.g., GET /api/auth/google, GET /api/auth/google/callback)
  • Create a new user or link account if email matches an existing user
  • Issue the same JWT token pair after successful OAuth

Frontend

  • Add “Continue with Google” (and others) buttons on the login/register screens
  • Use platform‑specific OAuth flow or a library like google_sign_in for Flutter

Start with Google, and design the backend to easily add more providers later.

Activity

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

Metadata

Metadata

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions