1. Docs
  2. API Reference
  3. OAuth hosted login: view sealed enrollment recovery codes (WebAuthn fetch-flow seam)

OAuth hosted login: view sealed enrollment recovery codes (WebAuthn fetch-flow seam)

GET/oauth/mfa-enroll-codes

Server-renders the one-shot recovery-codes page from a sealed codes_token. This is the seam for the WebAuthn enroll-verify fetch flow, which cannot render the codes page itself, so it seals the codes plus OAuth-resume context and navigates here; the unseal also produces the acknowledgement envelope used by the subsequent codes-ack POST. Renders an expired-session error page when the token is missing or stale.

Query Parameters

codes_tokenstring Required

Responses

200
Request
curl -X GET "https://auth.canopy-io.com/oauth/mfa-enroll-codes?codes_token=value"
Response
HTTP/1.1 200

(empty body)
Related endpoints Was this page helpful?

Tell us how we can improve this guide.