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

text/html

string

text/html

string
Request
curl -X GET "https://auth.canopy-io.com/oauth/mfa-enroll-codes?codes_token=value"
Response
Content-Type: text/html

<!doctype html>
<html lang="en">
  <head>…</head>
  <body>
    <!-- The hosted page: its form, any error, and the Environment's branding -->
  </body>
</html>
Related endpoints Was this page helpful?

Tell us how we can improve this guide.