Skip to main content

Function: getOAuthClient()

getOAuthClient(): Promise<BrowserOAuthClient>

Defined in: web/lib/auth/oauth-client.ts:107

Get or initialize the OAuth client.

Returns

Promise<BrowserOAuthClient>

Promise resolving to BrowserOAuthClient instance

Remarks

The client handles:

  • PKCE (Proof Key for Code Exchange)
  • DPoP (Demonstrating Proof of Possession)
  • PAR (Pushed Authorization Requests)
  • Session storage in IndexedDB
  • Automatic token refresh