Authentication
Platform (app.synapsex.ai)
Users authenticate via Google OAuth (NextAuth v5). Flow:- User clicks “Sign in with Google”
- Google redirects back with auth code
- Platform provisions user via
POST /api/v1/portal/provision-user - JWT issued with
org_id,access_token,role - Session stored in encrypted cookie