SSO / SAML & JWT Autopsy
Raw Token / Payload
Decoded Payload
Waiting for payload input...
Share MySysAd

⚠️ IMPORTANT DISCLAIMER: Tools are provided "AS IS" for educational purposes only.

All decoding happens locally in your browser. No tokens are ever sent to any server. By using this site you agree to our Terms of Service.

Find out why single sign-on failed

Most SSO failures come down to one value that doesn’t match: the audience, the issuer, the recipient URL or a timestamp. Paste a Base64 SAMLResponse or a JWT and see the decoded assertion or claims, with expiry and audience checks, without sending a live credential to anyone.

Common questions

How do I get the SAML response from my browser?

Open DevTools, go to the Network tab and tick Preserve log, then sign in. Find the POST to your application’s assertion consumer service (ACS) URL and copy the SAMLResponse form field. A HAR file export contains the same value if you’re debugging for someone else.

What does “audience is invalid” mean in SAML?

The <Audience> in the assertion doesn’t match the entity ID your application expects. It usually differs by a trailing slash, http versus https, or an old value left in the identity provider. Decode the response and copy the exact string into whichever side is wrong.

Why does SAML fail with an expired or not-yet-valid assertion?

The NotBefore and NotOnOrAfter conditions are checked against the server’s clock. A few minutes of drift between the identity provider and your server breaks logins, so check that both use NTP (timedatectl shows whether the clock is synchronised).

How do I decode a SAMLResponse by hand?

For the POST binding it’s plain Base64: echo "$SAMLResponse" | base64 -d. If you copied it from a URL, URL-decode it first. The Redirect binding also compresses the message (raw DEFLATE), so it needs inflating after Base64 decoding.

JWT or SAML: how do I debug an OIDC login?

OpenID Connect uses JWTs: decode the ID token and check aud (your client ID), iss (the provider’s URL), exp and nonce. A mismatch in any of these gives errors like “invalid audience” or “invalid issuer”.

Related tools: JWT Decoder · Base64 Decoder · All tools A–Z