Your Login Is the New Perimeter: MFA, Phishing-Resistant MFA and SAML in the Age of AI
The phishing email used to give itself away: bad grammar, a generic greeting, a strange link. Not anymore. AI now writes a flawless message in your CIO's tone, references last week's release, and follows up with a phone call in a convincing voice. When the lure is perfect, the only thing left to protect your org is how people log in.
Salesforce has reached the same conclusion. In 2026 it moved from requiring MFA to enforcing it for every employee login, and to demanding phishing-resistant MFA for admins and other privileged users. In this post you'll attack four login methods yourself in the Phishing Lab, then read a real-looking SAML response in a mock SAML-tracer, and step through how certificates protect (and break) each connection. You finish with an architect-style quiz.
The second factor. Why a code or a push can be relayed by an AI phishing kit, and a passkey can't.
Single sign-on. How your identity provider proves to Salesforce which method was used, and how to check it with SAML-tracer.
Certificates. TLS chains, mutual TLS and SAML signing certificates: what each one proves and what happens when it expires.
Already enforced. Phishing-resistant MFA for privileged users rolled out to production between July 20 and September 3, 2026.
1. Why AI broke the password-plus-code login
Salesforce's own security team lists the pattern plainly: AI helps attackers build personalised phishing and voice-phishing (vishing) campaigns from data stolen in earlier breaches, and AI-assisted credential stuffing can take over accounts even when the password is strong. Admins and privileged users are the prize, because one admin session can export the whole org.
Three attacks matter for Salesforce logins today:
- Adversary-in-the-middle (AiTM) phishing. A lookalike site sits between the user and the real login page and forwards everything in real time. The user sees the real Salesforce screens and the real MFA prompt. Whatever they type, including a 6-digit code, is relayed within seconds, and the attacker keeps the session.
- Vishing. A caller posing as IT support asks for the code, or asks the user to approve a push "to fix your account". In 2025 Google's Threat Intelligence Group tracked a group it calls UNC6040 doing exactly this to Salesforce customers. Callers requested credentials and MFA codes, and talked employees into authorising a modified Data Loader connected app that then pulled data out of the org.
- MFA fatigue. Repeated push requests until a tired user taps Approve.
Notice what these have in common. Every one of them works by getting a human to hand over, type or approve something. A code can be read out. A push can be approved. A password can be typed into the wrong page. The fix is a factor the user physically can't give away.
The Phishing Lab
Pick a login method, an attack and a user. Press Play or go one Step at a time, and watch where the attack succeeds or hits a wall.
2. What Salesforce enforces now
MFA has been a contractual requirement since 2022. In 2026 it became technically enforced, in two tiers. Salesforce Help covers both: MFA enforcement for all employee users and phishing-resistant MFA for privileged users.
| Tier | Who | What counts | What doesn't |
|---|---|---|---|
| Standard MFA | Every employee login, direct or SSO, in production and sandbox | Salesforce Authenticator, TOTP apps, plus everything in the row below | Email, SMS and phone call codes |
| Phishing-resistant MFA | Privileged users: System Administrator profile, or Modify All Data, View All Data, Customize Application or Author Apex (including via permission sets) | Security keys (FIDO2/WebAuthn), built-in authenticators (Touch ID, Face ID, Windows Hello, Android biometrics), passkeys, certificate-based authentication | Salesforce Authenticator and TOTP apps |
Dates. MFA for all users began rolling out in late June 2026. For privileged users, sandboxes started on July 10, 2026, and production went by release group: R0 on July 20, R1 on July 27–28, R2a on July 29–30, R2b on August 3, Japan and Korea on September 1, and all other instances on September 3. Orgs with an extension follow the date on their Release Updates page.
What's out of scope, and where teams get caught:
- API logins are not affected. JWT Bearer and Client Credentials OAuth flows are unaffected. The Web Server and hybrid flows still start with a UI login, so MFA applies there.
- External users on Experience Cloud licenses, and Chatter External and Chatter Free users, are excluded.
- The "Waive Multi-Factor Authentication for Exempt Users" permission no longer exempts anyone. Genuine cases, such as automated UI testing, need approval from Salesforce Support.
- Sandbox refreshes clear registered verifiers and disable SAML SSO until you reconfigure it. Plan for it before refresh day.
3. Why a passkey can't be phished
Standard MFA proves the user has a device. Phishing-resistant MFA also proves which website the user is on. When you register a passkey or security key (WebAuthn/FIDO2), the device creates a key pair tied to that site's domain, such as acme.my.salesforce.com. At login, the site sends a random challenge and the device signs it with the private key. The browser itself tells the device which domain is asking.
- On a lookalike domain, the device finds no key for that site, so there is nothing to sign and nothing to relay.
- The private key never leaves the device, so there's no secret to read out on a phone call.
- Certificate-based authentication works the same way at the network layer: the client certificate's private key proves possession in the TLS handshake with the real server, which a proxy can't reproduce.
Turn the methods on in Identity Verification settings. Salesforce Help explains how to enable security keys and built-in authenticators, and the Secure Your Users' Identity module walks through MFA setup hands-on.
4. SSO users: your identity provider has to prove it
If users sign in through Okta, Microsoft Entra ID, Ping or another identity provider (IdP), Salesforce never sees the passkey prompt. It only sees the SAML assertion (or OpenID Connect token) that the IdP sends back. So Salesforce looks inside it for a signal saying how the user authenticated:
- ACR (Authentication Context Class Reference): in SAML, the value in the
<AuthnContextClassRef>element. Salesforce does a "contains" check on the lowercased value. - AMR (Authentication Methods References): a list of methods. For OIDC, AMR values must match exactly.
Phishing-resistant values include fido, fido2, passkey, phr, hwk, x509, smartcard and tlsclient (the Help article lists them all). Generic values such as mfa or a TOTP signal count as standard MFA only. If your IdP sends no signal, Salesforce prompts the user for its own MFA at the next login. See MFA signals from SSO identity providers.
Three places to check what your IdP actually sends:
- Login History in Setup now shows AMR and ACR fields for each SSO login.
- SAML Assertion Validator (Setup → Single Sign-On Settings) checks the last assertion and now rates each signal as phishing-resistant, standard or weak.
- SAML-tracer in your browser shows the raw assertion as it passes through. That's the next section.
Read a SAML Login with SAML-tracer
A mock of the SAML-tracer window during an SP-initiated login. Pick what the IdP sent, click a request, and switch tabs. Highlighted lines are the ones to check.
5. Using SAML-tracer on a real login
SAML-tracer is a free, open-source browser extension for Firefox and Chrome. It logs every request the browser makes and highlights and decodes SAML messages (and WS-Federation). It's the fastest way to see exactly what your IdP is sending, without asking the IdP team for logs.
- Install it from the Firefox Add-ons site or the Chrome Web Store. The listing you want is "SAML-tracer", published by SimpleSAMLphp.
- Open it before you log in. Click its toolbar icon or press
Alt+Shift+S. A separate window starts recording. Use a private window so an existing session doesn't skip the IdP. - Log in through SSO: start at your My Domain URL and pick the IdP button, or start from the IdP's app tile.
- Find the requests tagged SAML. The redirect to your IdP carries the
SAMLRequest. The POST back to Salesforce carries theSAMLResponse. That POST is the one that matters. - Open the SAML tab on that POST and read the decoded XML. Check the items in the list below.
- Export carefully. SAML-tracer can export a trace to share with your IdP team, but a trace contains live assertions, cookies and personal data. Mask values when you export, never post one in a public forum, and delete it when the ticket closes.
What to read in the SAMLResponse:
| Element | What it should be | Typical error if wrong |
|---|---|---|
| Issuer | Exactly the Issuer value in your SAML Single Sign-On Setting | Issuer mismatch |
| ds:Signature / X509Certificate | Signed with the certificate you uploaded as the Identity Provider Certificate | Signature invalid or certificate mismatch |
| Conditions NotBefore / NotOnOrAfter | A short window around "now". Both servers need accurate clocks. | Assertion expired or not yet valid (clock skew) |
| Audience | Your Salesforce Entity ID, such as your My Domain URL | Audience invalid |
| Recipient / Destination | The Login URL (ACS) from your SSO setting | Recipient mismatch |
| NameID | Matches the user field you chose, usually Federation ID | User not found |
| AuthnContextClassRef | For admins: a value containing a phishing-resistant term | Salesforce asks for its own MFA, or blocks the privileged login |
SAML-tracer only sees what passes through the browser. For OpenID Connect logins, the AMR and ACR claims sit inside the ID token, which travels between servers, so check Login History instead. The Set Up Single Sign-On for Your Internal Users unit on Trailhead lets you build a practice SAML connection and inspect it safely in a Developer Edition org.
How Certificates Protect Each Connection
Choose a connection, then step through it. Turn on a "what if" to see the exact check that fails.
6. Certificates in the network layer, explained
In Salesforce, certificates do two jobs: transport protection (encrypting the connection and proving the server is real) and identity (proving who a user, system or IdP is). The two use trust in very different ways, and mixing them up causes most certificate outages.
TLS: trust a chain. When your browser opens acme.my.salesforce.com, the server sends its certificate plus the intermediate certificates. The browser checks that:
- the chain leads to a root CA it already trusts, with every signature valid;
- the certificate covers the exact hostname being visited;
- every certificate is inside its validity dates;
- the server proves it holds the private key by signing part of the handshake.
Only then are session keys agreed and data encrypted. For connections into Salesforce, Salesforce rotates its own server certificates, unless you use Bring Your Own Certificate (BYOC) on a custom domain. Salesforce's guidance is for calling systems to trust the full Mozilla root store rather than pinning one root. That matters most for API integrations, whose trust stores are often hand-curated.
Mutual TLS (mTLS): both sides show a certificate. The server also asks the client for one, and the client proves it holds the matching private key.
- Inbound API mTLS: an integration's client certificate is uploaded to Salesforce's Mutual Authentication list.
- Inbound user mTLS: certificate-based authentication maps a client certificate to a user. It also counts as phishing-resistant MFA.
- Outbound Apex mTLS: a callout presents a named certificate from Certificate and Key Management. You own its rotation.
// Outbound mutual TLS from Apex: present a client certificate you manage
// in Setup > Certificate and Key Management (unique name: Partner_mTLS_2026).
HttpRequest req = new HttpRequest();
req.setEndpoint('callout:Partner_API/v1/orders'); // Named Credential holds the base URL
req.setMethod('GET');
req.setClientCertificateName('Partner_mTLS_2026');
HttpResponse res = new Http().send(req);
System.debug(res.getStatusCode());The Apex Developer Guide covers client certificates for HTTP callouts. You can also attach the client certificate to the Named Credential, which keeps certificate names out of your code.
SAML: trust one specific certificate. There's no chain and no CA involved. You upload the IdP's signing certificate into your SSO setting, and Salesforce accepts only assertions signed by that key. That's why SAML setups commonly use a long-lived self-signed certificate. It's also why an expired or rotated IdP certificate breaks every SSO login at once, even though the IdP's website looks perfectly healthy.
7. Your rollout checklist
- Find your privileged users. Query the four permissions across profiles and permission sets, or use the User Access and Permissions Assistant. Remove admin rights from anyone who doesn't need them: the cheapest MFA rollout is fewer admins.
- Check your date in Setup → Release Updates (Needs Action tab).
- Enable security keys and built-in authenticators, and consider passkey login.
- Pre-register two methods per privileged user, in a sandbox first.
- Verify SSO signals with Login History, the SAML Assertion Validator and SAML-tracer. Ask your IdP team to send a phishing-resistant ACR or AMR value for admin logins.
- Move integrations to API-only users with JWT Bearer or Client Credentials flows, so no integration depends on a human login.
- Lock down connected apps so users can't authorise unknown apps, and alert on bulk exports.
- Inventory certificates: IdP signing certificates, Salesforce self-signed certificates, mTLS client certificates. Record expiry dates and owners, and automate renewal where you can.
Predict the Outcome
Six scenarios from real MFA rollouts and SSO incidents.
Cheat sheet: which factor stops what?
| Method | Meets MFA (all users) | Meets admin requirement | Stops AiTM phishing | Stops "read me the code" |
|---|---|---|---|---|
| Password only | No | No | No | No |
| SMS, email or phone code | No | No | No | No |
| TOTP app code | Yes | No | No | No |
| Salesforce Authenticator push | Yes | No | Only if the user checks the details | Can be talked into approving |
| Passkey, security key, built-in authenticator | Yes | Yes | Yes | Yes |
| Certificate-based authentication | Yes | Yes | Yes | Yes |
| SSO from your IdP | If AMR/ACR says MFA | If AMR/ACR says phishing-resistant | Depends on the IdP factor | Depends on the IdP factor |
Checked against Salesforce Help's MFA enforcement articles, the Salesforce Admins blog and Salesforce's security guidance in November 2026. Enforcement dates and accepted AMR/ACR values can change, so confirm them on your org's Release Updates page.
Official Resources
Straight from Salesforce: the docs this article is based on.
Trailhead
Developer Docs
Salesforce Help
- Phishing-Resistant MFA for Privileged Users Dates, methods, AMR/ACR values, exemptions
- MFA Enforcement for All Employee Users Direct and SSO logins
- MFA Signals from SSO Identity Providers How Salesforce reads AMR and ACR
- Enable Security Keys and Built-In Authenticators Identity Verification settings
- Certificate-Based Authentication Client certificates for user logins
- Key Policy and Rotation Trusted roots and certificate rotation
Are your admins and SSO logins ready for phishing-resistant MFA?
Book a session with our architects to audit privileged access, SSO signals and certificate expiry.