Skip to main content
MFA requires users to provide multiple forms of identification to access their account.

Email 2FA

If 2-factor authentication is enabled in the Personal settings page, email will be used for MFA by default. Email-based MFA

Mobile authenticator 2FA

You can use any mobile authenticator app (Authy, Google Authenticator, Duo, etc.) to secure your account. After registration with an authenticator, select Mobile Authenticator as your 2FA method. Authenticator-based MFA

Enforce MFA for an organization

Organization admins can require every member to complete MFA when they sign in to the organization, and choose which MFA methods members can use.
1
In your organization, go to Settings > Security.
2
In the Multi-Factor Authentication card, under Allowed MFA Methods, select each method members can use: Passkey, Authenticator app, or Email.
3
Turn on the toggle in the same card.
The setting also applies to the organization’s sub-organizations.
If you self-host Infisical, you can allow email codes only if you’ve configured SMTP.

Which method members sign in with

When a member signs in, Infisical asks for one of these methods, in this order:
  1. The member’s Preferred 2FA method from the Authentication tab of their personal settings, if your organization allows it and the member has set it up
  2. The strongest method your organization allows and the member has set up: a passkey, then an authenticator app, then email
On the sign-in screen, the member can select More Options to switch to another allowed method they’ve set up, or to enter a recovery code.

Members who haven’t set up an allowed method

If a member hasn’t set up any method your organization allows, Infisical asks them to set one up when they sign in. Email doesn’t need setup, so this only happens when your organization doesn’t allow email. Before a member adds a passkey or an authenticator app, at sign-in or in their personal settings, they verify with the strongest method they already have: a passkey, then an authenticator app, then email. Infisical asks for that method even if your organization doesn’t allow it. Every member can receive email codes, so a member adding their first passkey or authenticator app enters an email code first.
If you self-host Infisical without SMTP configured, members can’t receive email codes, so a member adding their first method doesn’t verify first.

MFA for SSO logins

If your organization enforces MFA and your users sign in through SAML or OIDC SSO, you can let the MFA they completed at your identity provider count, so Infisical doesn’t prompt them again. Password, LDAP, and Google, GitHub, or GitLab logins are always prompted, so a break-glass account keeps Infisical MFA. The setting only takes effect while your organization enforces MFA, and then it also covers users who turned on MFA for their own account. Infisical trusts a login only if the identity provider’s signed response says MFA was completed:
  • For OIDC, the ID token’s amr claim includes mfa
  • For SAML, the assertion’s authentication context is a two-factor class, such as MobileTwoFactorContract or SmartcardPKI, or the MFA attribute includes mfa or multipleauthn (Infisical reads authnmethodsreferences for Entra ID and amr for every other provider)
Without a signal, Infisical prompts as usual. The user-login event in the audit log shows the values the identity provider sent, so you can see why a login was or wasn’t prompted.
1
Configure your identity provider to send the signal. Okta OIDC and Entra ID send it without extra configuration. For Okta SAML, add an attribute statement named amr with the value session.amr, as described in Okta SAML.
2
In your organization, go to Settings > Security and turn on Enforce MFA.
3
Go to Settings > Single Sign-On (SSO) and, in the Enforcement card, turn on Trust IdP MFA.
If your identity provider lists the methods under another name, change MFA claim name in your OIDC configuration or MFA attribute name in your SAML configuration. If it uses other values or authentication contexts for MFA, add them under Additional MFA claim values or Additional MFA authentication contexts.

Entra ID MFA

Before proceeding make sure you’ve enabled SAML SSO for Entra ID.We also encourage you to have your team download and setup the Microsoft Authenticator App prior to enabling MFA.
1

Open your Infisical Application in the Microsoft Entra Admin Center

Entra Infisical
app
2

Tap on Conditional Access under the Security Tab

conditional
access
3

Tap on Create New Policy from Templates

create policy
4

Select Require MFA for All Users and Tap on Review + Create

require MFA and review
policy
By default all users except the configuring admin will be setup to require MFA. Microsoft encourages keeping at least one admin excluded from MFA to prevent accidental lockout.
5

Set Policy State to Enabled and Tap on Create

enable policy and
confirm
6

MFA is now Required When Accessing Infisical

mfa login
If users haven’t setup MFA for Entra / Azure they will be prompted to do so at this time.