Read login challenge metadata.
curl --request GET \ --url 'https://auth.example.com/api/auth/login-challenges?challenge_id=example'Returns client display metadata, OIDC prompt metadata, session mode, handoff methods, and web-origin policy for a login or re-auth challenge.
Parameters
Section titled “ Parameters ”Query Parameters
Section titled “Query Parameters ”Challenge id returned by the authorization flow.
Responses
Section titled “ Responses ”Login challenge metadata for Login UI rendering.
object
object
object
object
object
object
object
Example
{ "challenge_id": "chal_123", "client": { "client_id": "client_123", "client_name": "Example App", "logo_uri": "https://app.example.com/logo.png", "client_uri": "https://app.example.com/", "policy_uri": "https://app.example.com/privacy", "tos_uri": "https://app.example.com/terms" }, "scope": "openid profile email", "oidc": { "prompt": "login", "max_age": 3600, "acr_values": [ "urn:mace:incommon:iap:bronze" ], "nonce_present": true, "claims_present": false }, "session_mode": "managed_browser_session", "handoff_methods": [ "cookie_session_finalize" ], "web_origin_registry": { "origins": [ { "origin": "https://app.example.com", "client_ids": [ "client_123" ], "cors": { "allowed": true }, "csp": { "frame_ancestors": [ "https://app.example.com" ] }, "handoff_allowed": true, "iframe_allowed": false, "environment": "production" } ] }}Error response.
object
Optional browser-side WebAuthn Signal API hint. When unknown_credential is true, clients that just received a WebAuthn credential assertion may call PublicKeyCredential.signalUnknownCredential() for that credential ID.
object
Example generated
{ "error": "example", "error_description": "example", "message": "example", "webauthn_signal": { "unknown_credential": true }}Error response.
object
Optional browser-side WebAuthn Signal API hint. When unknown_credential is true, clients that just received a WebAuthn credential assertion may call PublicKeyCredential.signalUnknownCredential() for that credential ID.
object
Example generated
{ "error": "example", "error_description": "example", "message": "example", "webauthn_signal": { "unknown_credential": true }}Error response.
object
Optional browser-side WebAuthn Signal API hint. When unknown_credential is true, clients that just received a WebAuthn credential assertion may call PublicKeyCredential.signalUnknownCredential() for that credential ID.
object
Example generated
{ "error": "example", "error_description": "example", "message": "example", "webauthn_signal": { "unknown_credential": true }}