OAuth hosted login: verify MFA enrollment
/oauth/mfa-enroll-verifyVerifies the 6-digit TOTP code from the hosted MFA enrollment page against the enrollment_token. On success it renders the one-shot recovery-codes page (whose acknowledgement step mints the authorization code); on failure it restarts the enrollment and re-renders the enroll page with a fresh otpauth URI and the error. Throttled to 10 requests per minute.
Request body
application/json
enrollment_tokenstring Required codestring Required labelstring 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-verify" \ -H "Content-Type: application/json" \ -d '{ "enrollment_token": "string", "code": "string", "label": "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.