Skip to content
This repository was archived by the owner on Feb 20, 2026. It is now read-only.
This repository was archived by the owner on Feb 20, 2026. It is now read-only.

Enable provider_type during login #2

@pi0neerpat

Description

@pi0neerpat

May create too much complexity, so not a high priortiy

  • FE: update the login buttons to add all providers, and add the provider type to the /login url
  • BE: consume query params for the login endpoint
router.get("/login/keyp", passport.authenticate("oauth2"));
  • Modify the passport object authorizationURL, by appending login_provider=<type>, before calling .authenticate()

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions