Skip to 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