For the complete documentation index, see llms.txt. This page is also available as Markdown.

Authentication

Passkey-based authentication flow (SSE).

Start a passkey authentication flow (SSE)

get

Initiates a passkey-based sign-in. Returns a text/event-stream (SSE) that emits events until the user authenticates or the 2-minute timeout expires. Event sequence:

  1. pending — contains the passkey and an auth_url to open. 2. success — contains access_token and refresh_token. The stream closes automatically after success or timeout.

Responses
200

SSE stream

text/event-stream
stringOptional

Each data: line is a JSON object. Possible shapes: Pending event: json { "status": "pending", "passkey": "abc123", "auth_url": "https://auth.ui-color-palette.com/?passkey=abc123", "message": "Please authenticate by opening the following URL in your browser: ..." } Success event: json { "status": "success", "access_token": "<supabase-jwt>", "refresh_token": "<refresh-token>" }

get
/authenticate

Last updated