feat: Custom OAuth using Passport

Merged
YA
5mo ago
+511-35

Proposed changes (including videos or screenshots)

Issue(s)

Steps to test or reproduce

Further comments

PRM-12

Summary by CodeRabbit

  • New Features

    • Support for configurable custom OAuth2 providers (PKCE, flexible identity mapping, optional account merging, and optional post-login data sync)
    • Passport-based OAuth routes with consistent callback handling and resume-token redirect after login
  • Bug Fixes

    • More reliable session and token handling during OAuth login/callback flows
  • Chores

    • Added passport-oauth2 and supporting verification/registration wiring