OAuth social login for chauffeur platform guests and portal users

Identity

OAuth Login

Google and Facebook sign-in reduce password friction for guests and portal users.

OAuth social login for chauffeur platform guests and portal users
Overview

Federated sign-in

Guests link Google or Facebook identities instead of memorizing another password.

Portal users map OAuth subjects to tenant roles without duplicate email accounts.

Enterprise SSO hooks extend the same flow for SAML tenants under custom contracts.

  • Google OAuth
  • Facebook OAuth
  • Account linking
  • Enterprise SSO ready
How it works

From provider button to session

  • Step 1

    Redirect

    Users consent on the provider; callbacks land on verified redirect URIs only.

  • Step 2

    Map

    Server exchanges codes for profiles and links or creates local user rows.

  • Step 3

    Session

    HTTP-only cookies issue JWT sessions compatible with MFA upgrades.

OAuth social login for chauffeur platform guests and portal users
Benefits

Identity benefits

  • Higher conversion

    Checkout login completes faster on mobile after long flights.

  • Fewer resets

    Support tickets for forgotten passwords drop among OAuth-linked guests.

  • Enterprise ready

    Same session layer accepts SAML assertions for corporate tenants.

OAuth Login security
Security

OAuth hardening

State parameters and PKCE protect authorization flows on public clients.

Provider tokens never reach browsers — only server-side session cookies issue.

  • PKCE on public clients
  • State nonce validation
  • HTTP-only sessions
  • Provider token vaulting
OAuth Login integration
Integration

Provider wiring

NestJS auth module registers Google and Facebook apps with per-environment client IDs.

Admin consoles revoke linked identities when staff depart partner organizations.

  • NestJS OAuth strategies
  • Per-env client IDs
  • Identity revocation
  • Email verification fallback
OAuth Login business use cases
Use cases

Login moments

  • Mobile rebooking

    Returning guests tap Google to access saved passengers instantly.

  • Partner staff

    Agency employees use corporate Google Workspace for portal access.

  • Marketing signup

    Newsletter CTAs offer OAuth to create lightweight accounts.

Support

OAuth FAQ