Skip to content
AnswerWell geo Documentation

Research · 7 min read · Answerwell

Independent Multi-Factor Authentication: AAGUID, AMR Matching, and Enforcement Levels

How Cloudflare Access independent MFA works with org, app, and policy settings, AAGUID lists, AMR matching, SSH keys, and App Launcher enrollment.

This page summarizes Cloudflare Access documentation on independent multi-factor authentication (MFA): a second factor enforced by Access after identity provider (IdP) login, without depending on the IdP’s own MFA configuration. It covers how that differs from IdP-based MFA, where settings apply, AAGUID restrictions, AMR matching, infrastructure PIV and FIDO2 keys, and how users enroll devices through the App Launcher.

Cloudflare Access supports two ways to require multi-factor authentication:

Cloudflare Access supports two methods of enforcing multi-factor authentication (MFA):

Identity provider-based MFA — Require specific MFA methods reported by your identity provider (IdP). Independent MFA — Prompt users for a second factor directly in Access, without relying on a third-party identity provider.

For SSH connections to infrastructure applications, Access also supports independent MFA with PIV and FIDO2 keys.

— Cloudflare, Enforce MFA

IdP-based MFA uses policy selectors (for example Authentication method) when the IdP reports MFA in the token. It works only with Okta, Microsoft Entra ID, generic OIDC, and generic SAML 2.0. Access follows RFC 8176 for authentication method reference values; if the user’s IdP login does not match the required method, Access rejects them even when IdP login succeeded.

Independent MFA is configured in Access settings and per application or policy—not via authentication-method selectors. After IdP login, Access prompts for TOTP, a WebAuthn security key, or biometrics (and, for SSH, PIV or FIDO2 keys).

Approach Where you configure it Typical use
IdP-based MFA Access policy Require rule: Authentication method Enforce hardware keys when Okta/Entra reports hwk in amr
Independent MFA Organization / application / policy MFA panels Stricter factors on sensitive apps without org-wide IdP MFA

Enforcement levels: organization, application, and policy

Section titled “Enforcement levels: organization, application, and policy”

Independent MFA precedence is policy → application → organization.

You can configure MFA requirements at three levels:

Level — Organization: Enforce MFA by default for all applications in your account. Application — Require or turn off MFA for a specific application. Policy — Require or turn off MFA for users who match a specific policy.

MFA settings use this precedence: Policy > Application > Organization.

— Cloudflare, Enforce MFA

Each application or policy can Respect global enforcement setting, use Custom MFA settings (allowed methods and session duration), or Disable MFA. Lower-level explicit settings override higher levels; see the precedence table in Enforce MFA.

Turn on independent MFA at the organization level

Section titled “Turn on independent MFA at the organization level”

Organization-level independent MFA is a prerequisite for application and policy enforcement:

Before you can enforce independent MFA on applications and policies, you must turn on independent MFA at the organization level.

— Cloudflare, Independent MFA

In the dashboard, go to Zero Trust → Access controls → Access settings, under Allow multi-factor authentication (MFA). Choose allowed methods, set Authentication duration, and optionally Apply global MFA settings by default. The App Launcher is exempt from the global MFA requirement so users can enroll devices:

The App Launcher is exempt from the global MFA requirement. Users must be able to access the App Launcher without MFA to enroll their authenticators.

— Cloudflare, Independent MFA

API updates use the organization mfa_config object described in the same document.

For browser and self-hosted applications, independent MFA supports authenticator apps (TOTP), security keys (WebAuthn), and biometrics (Touch ID, Face ID, Windows Hello):

Independent MFA supports the following authenticator types:

Authenticator application — Time-based one-time passwords (TOTP) using apps like Google Authenticator, Microsoft Authenticator, or Authy. Security key — Hardware security keys such as YubiKeys. Biometrics — Built-in device authenticators including Apple Touch ID, Apple Face ID, and Windows Hello.

— Cloudflare, Independent MFA for Access applications

Infrastructure (SSH) applications add piv_key and ssh_fido2_key, separate from browser WebAuthn keys:

Infrastructure applications support independent multi-factor authentication (MFA) with FIDO2 keys. You can allow ssh_fido2_key, piv_key, or both in application-level and policy-level MFA settings.

Users enroll FIDO2 keys through the App Launcher and connect with the generated SSH identity. FIDO2 keys for SSH are separate from browser-based WebAuthn security keys and Personal Identity Verification (PIV) keys.

— Cloudflare, Independent MFA supports FIDO2 for infrastructure applications

AAGUID restrictions: approved WebAuthn hardware only

Section titled “AAGUID restrictions: approved WebAuthn hardware only”

AAGUID (Authenticator Attestation GUID) identifies the make and model of a WebAuthn authenticator. Organization-level lists limit which devices users may enroll—useful for FIPS-validated or company-issued keys:

Restrict authenticators by AAGUID — Limit enrollment to a specific set of WebAuthn authenticators using their AAGUID. This is useful for organizations that require FIPS-validated security keys or company-issued hardware. AAGUIDs are managed through a new List type.

— Cloudflare, AAGUID restrictions and AMR matching for Access independent MFA

AAGUIDs use a MFA AAGUIDs list in Zero Trust → Resources → Lists; assign the list under Limit MFA to specific authentication methods in Independent MFA. For FIDO2 SSH keys, Access rechecks AAGUID on each connection; removed AAGUIDs stop working even for enrolled keys. PIV keys do not expose an AAGUID, so this control does not apply to them.

AMR matching: avoid prompting twice for MFA

Section titled “AMR matching: avoid prompting twice for MFA”

When the IdP already performed MFA, AMR matching can skip Access’s independent MFA prompt:

AMR matching — Skip the independent MFA prompt when the identity provider has already performed an equivalent MFA. Access reads the amr claim defined in RFC 8176 and matches supported values such as hwk, otp, and fpt to the authenticator types allowed on the application or policy. This prevents users from having to complete MFA twice when their identity provider already enforces it.

— Cloudflare, AAGUID restrictions and AMR matching for Access independent MFA

Enable Use identity provider MFA under organization MFA settings and set AMR matching duration (Independent MFA).

AMR value Maps to Access method
hwk, swk Security key
otp Authenticator application
face, fpt, iris, retina, vbm Biometrics

Access ignores unmapped values (pwd, sms, and others). Matching is skipped when the IdP omits amr, returns only unmapped values, or the AMR session expired; Access then falls back to independent MFA or existing MFA sessions.

MFA session duration controls how long a successful independent MFA step is reused (separate from application session length; see Session management). Access evaluates policy → application → organization durations. Set Require every login (API: session_duration "0m") to force MFA on each login. Details and API examples are in Enforce MFA.

Users enroll independent MFA in the App Launcher at <your-team-name>.cloudflareaccess.com, under Account → MFA devices. Administrators can share:

<your-team-name>.cloudflareaccess.com/AddMfaDevice

Users enroll their authenticators through the App Launcher. To help with onboarding, administrators can share a direct enrollment link: <your-team-name>.cloudflareaccess.com/AddMfaDevice.

— Cloudflare, Independent MFA for Access applications

Adding or removing devices after the first enrollment requires verifying with an existing MFA method (10-minute window on the same device). Lockout recovery: admins delete the user’s devices under Zero Trust → Team & Resources → Users → MFA devices (Independent MFA). PIV and FIDO2 SSH enrollment follow dedicated flows in the same document and Add an infrastructure application.

  • Double MFA prompts — IdP MFA is on but Use identity provider MFA / AMR matching is off, or the IdP does not send compatible amr values (Independent MFA).
  • Policy disables MFA unexpectedly — A policy Disable MFA overrides organization require; check the precedence table in Enforce MFA.
  • SSH MFA misconfiguration — MFA required globally without piv_key or ssh_fido2_key in allowed authenticators blocks infrastructure access (Enforce MFA).
  • Enrollment blocked by AAGUID lists — Approved list omits the hardware users actually have (Independent MFA).
  1. In the Cloudflare dashboard, open Zero Trust → Access controls → Access settings and confirm Allow multi-factor authentication (MFA) lists the methods and duration you expect.

  2. Open a protected application’s Authentication → MFA tab and verify whether it respects global settings or uses custom/disabled MFA (Enforce MFA).

  3. Sign in as a test user via the App Launcher; confirm whether Access prompts for a second factor after IdP login and whether AMR matching skips the prompt when appropriate.

  4. For Okta integrations, use Access settings → App Launcher → Login methods → Test on the IdP row to inspect returned amr values when testing hardware vs app-based factors (Require U2F with Okta).

  5. You can check automatically in Answerwell (our tool): https://answerwell.org/workspace

If something on this page does not match your tenant behavior or the linked Cloudflare docs, email yimasynthetic@gmail.com with the page URL and the statement you want clarified.