SAML Decoder & Certificate Checker

Paste a SAMLResponse, a SAMLRequest URL, IdP metadata or a certificate — see what it says, what will make Salesforce reject it, and when the certificate expires.

Runs in your browser — nothing you paste is sent to us or stored.

How to use it

  1. 1

    Capture the SAML message

    Open your browser’s DevTools → Network, tick “Preserve log”, sign in through SSO, and find the POST to your Salesforce login URL. Copy the SAMLResponse value from its payload.

  2. 2

    Paste it as it is

    Base64, URL-encoded, a whole redirect URL with ?SAMLRequest=, plain XML, IdP metadata or a PEM certificate — the tool works out which it is.

  3. 3

    Read the checks

    Red is what will make Salesforce refuse the login, amber is worth fixing, and every certificate shows when it expires and its fingerprints.

Questions

Where do I find the SAML response for a failed Salesforce login?

In the browser: DevTools → Network with “Preserve log” on, sign in, and open the POST request to your My Domain or Experience Cloud login URL — SAMLResponse is in the form data. Browser extensions such as SAML-tracer show it too. In Salesforce, Setup → Single Sign-On Settings has a SAML Assertion Validator that checks the last failed SAML login against your settings, and Login History shows the failed attempt.

Which values have to match my Salesforce SSO setting?

The Issuer must match “Issuer” exactly; the Audience must match the Entity ID; the Recipient (and Destination, if sent) must be the Salesforce Login URL shown in the setting; and the NameID — or the attribute you chose — must match a user’s Username or Federation ID, depending on “SAML Identity Type”. A trailing slash or http vs https is enough to fail.

Does this verify the signature?

No. It shows whether the response and the assertion are signed, with which algorithms, and checks the certificate inside — but checking the signature itself needs exact XML canonicalisation and the certificate you trust. Salesforce’s SAML Assertion Validator does that with your org’s settings.

What does the certificate check look at?

The certificate the IdP signs with: who it’s for, who issued it, when it starts and expires (with a warning 30 days before), the key type and size, its signature algorithm, and SHA-1 / SHA-256 fingerprints. Compare the fingerprint with the certificate uploaded in your SSO setting — if they differ, the IdP has switched certificates and Salesforce will reject the logins until you upload the new one.

Why does it say the validity window has ended?

Assertions are usually valid for only a few minutes, so a response you captured a while ago will be past its NotOnOrAfter time — that’s expected. It only points to a problem if Salesforce rejected it straight away: then compare the IdP’s clock with real time and how long the IdP makes its assertions valid.

Can it read an encrypted assertion?

No — an EncryptedAssertion can only be read with the private key of the certificate chosen as “Assertion Decryption Certificate” in Salesforce, and that key never leaves Salesforce. The tool still shows the response’s status, issuer, destination and signature.

Is it safe to paste a SAML response here?

Everything is decoded in your browser; nothing is sent to us or stored. A SAML response does contain the user’s identity and attributes, and an unexpired one could be replayed, so only paste responses you’re allowed to handle — and treat them like a password until they expire.

Further reading

Want to go beyond the tools?

Learn Salesforce administration — from beginner to certified — live classes with people who build on Salesforce every day.

See the learning path →