Skip to main content

Initiate Login

Start OAuth flow with social provider.
string
required
OAuth provider: google, github, or x
string
Redirect URL after authentication (default: /)
Response: Redirect to OAuth provider

OAuth Callback

Handle OAuth callback (internal endpoint).
Response: Redirect to application with session

Get Auth Status

Check current authentication status.
Response (authenticated):
Response (not authenticated):

Generate STARK Proof

Generate a new STARK proof for the current session.
Response:

Verify Session

Verify that current session has valid STARK proof.
Response:

Refresh Proof

Refresh STARK proof before expiry.
Response:

Logout

End session and revoke STARK proof.
Response:

Get Supported Providers

List available OAuth providers.
Response:

Link additional OAuth provider to existing account.
string
required
Provider to link
Response: Redirect to OAuth provider
Remove linked OAuth provider (must keep at least one).
string
required
Provider to unlink
Request:
Response:

Error Codes