Multi-Factor Authentication
Add a second authentication factor for your identities, enforced per Environment.
Overview
Multi-factor authentication (MFA) requires an identity to present a second factor, beyond their password, when they sign in. In Canopy, MFA is configured per Environment, so you can require it in production while leaving staging open, and it applies the same way whether your users authenticate through the hosted login pages or the Direct API.
Per-Environment enforcement
Four settings, scoped to each Environment
Every Environment carries its own MFA policy:
Factor types
Canopy supports four factor types:
Login-time decisions
At sign-in, Canopy returns one of five MFA decisions so your integration knows what to do next:
Step-up & admin reset
Two operational behaviors round out the flow:
Where MFA applies
MFA covers both the Direct API and Hosted OAuth
The hosted login pages run the same challenge and enrollment flow as the Direct API, so your users are covered however they sign in. Tokens issued after a factor is verified record it in the standard amr (authentication methods reference) claim: for example ["pwd", "mfa"] for a password login plus a second factor, or ["sso", "mfa"] for an SSO step-up, so your backend can confirm a session was MFA-verified before allowing a sensitive action.
Tell us how we can improve this guide.