Skip to main content

Authentication Documentation

Documentation for Qubital's authentication system using WorkOS and Google OAuth.


๐Ÿ” Overviewโ€‹

Qubital uses WorkOS as the authentication provider with Google Sign-In as the primary authentication method. The system implements OAuth 2.0 with PKCE for secure authorization and session-based authentication with HTTP-only cookies.


๐Ÿ“š Documentationโ€‹

OAuth Login Flow (Google)โ€‹

Complete documentation of the Google OAuth authentication flow, including:

  • Step-by-step flow from user sign-in to authenticated session
  • PKCE implementation for enhanced security
  • Component interactions (Client, Backend, WorkOS, Google)
  • Visual flowcharts and sequence diagrams
  • Hidden redirect pages and final authentication pages
  • Session creation and cookie management