OAuth hosted login: acknowledge recovery codes
/oauth/mfa-enroll-codes-ackFinal step of hosted MFA enrollment: the user acknowledges they saved their recovery codes. Validates the sealed ack_token (state verified, matching client_id), then mints the authorization code — stamping the OIDC amr from the enrolled factor — and redirects to the client's redirect_uri. Renders an expired-session error page when the token is invalid. Throttled to 10 requests per minute.
Request body
application/json
ack_tokenstring Required client_idstring Required redirect_uristring Required response_typestring Required scopestring Required statestring Optional code_challengestring Required code_challenge_methodstring Required Responses
200
curl -X POST "https://auth.canopy-io.com/oauth/mfa-enroll-codes-ack" \ -H "Content-Type: application/json" \ -d '{ "ack_token": "string", "client_id": "string", "redirect_uri": "string", "response_type": "string", "scope": "string", "state": "string", "code_challenge": "string", "code_challenge_method": "string" }'
HTTP/1.1 200 (empty body)
Tell us how we can improve this guide.