iamops.dev
Argo on X RSS feed
ENEnglish

Tools

SAML response decoder: decrypt and verify signature

Paste a SAMLRequest, a SAMLResponse or a redirect URL to decode it, check the signature and decrypt the assertion. I wrote this to debug logins without handing assertions to a stranger.

Runs in your browser. Nothing you paste leaves your device.

Runs in your browser. Nothing you paste is sent anywhere. Don't paste production private keys.

The page makes no network request while you work. The only exceptions are the buttons that say Fetch, which call the address you type. Keep real private keys out of any web page, including this one.

How to get the input
  1. Install the open-source SAML-tracer extension, sign in, and pick the request it marks as SAML.SAML-tracer for Firefox · for Chrome · GitHub
  2. Without an extension: DevTools > Network, turn on Preserve log, sign in, then copy SAMLResponse from the form data of the POST to the ACS URL, or SAMLRequest from the redirect URL.Chrome DevTools: Network
  3. Paste the base64 value or the whole redirect URL. The tool decodes it.

Use a test account and throwaway keys. Do not paste production secrets, session cookies or real users' tokens.

What can I paste here#

The SAMLResponse or SAMLRequest value from a form POST, the raw XML, or the whole redirect URL. To decrypt an assertion, also paste a test private key, never a production one.

SAML decoder and verifier

Samples are made with throwaway keys and example.test names. They mean nothing outside this page.

How to read the result#

What it does not do#

Questions people ask#

What can I paste here

The SAMLResponse or SAMLRequest value from a form POST, the raw XML, or the whole redirect URL. To decrypt an assertion, also paste a test private key, never a production one.

How do I decode a SAML response?

Paste the base64 value from the SAMLResponse form field, the raw XML or the whole redirect URL. Deflate is handled for you, and the page shows the issuer, conditions, attributes and signature status.

Can it decrypt an encrypted assertion?

Yes. Paste the service provider private key and it decrypts the EncryptedAssertion in your browser. Use a test key, never a production one.

Related articles#

The newest posts and labs on the same topic, picked automatically.