Finalize login
Finalize a login flow by exchanging a challenge token for session tokens (access + refresh).
Headers
Device proof JWT sent by the mobile SDKs (typ: device-proof+jwt,
ES256, public key in jwk). Claims: htm, htu, cth
(base64url SHA-256 of the challenge token in the body) and jkt
(thumbprint of the DPoP key of the same request). Requires a DPoP
proof. When absent, the session has no device key. When present but
invalid, the request fails with invalid_device_proof before the
challenge token is used, so the client can retry.
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.