Finalize login
Finalize a login flow by exchanging a challenge token for session tokens (access + refresh).
Headers
Optional refresh token from a previous session. When provided, the session associated with this token is revoked once the new session is established, so a re-login does not leave the old session dangling. Ignored when the token is missing or can no longer be resolved to an active session.
Body
The challenge token obtained from a login method.
"eyJhbGciOiJFZERTQSIsInR5cCI6IkpXVCJ9..."
PKCE code verifier matching the code_challenge originally sent
on the login flow (OAuth, standalone OTP, or migration).
Required when the challenge token carries a pkce_challenge
claim; ignored otherwise.
"dBjftJeZ4CVP-mB92K27uhbUJU1p1r_wW1gFWFOEjXk"