Skip to content

A simple, client-side SAML Response decoder. All processing happens locally in your browser.

License

Notifications You must be signed in to change notification settings

jusuchin85/samlresponse-decoder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

10 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

SAML Response Decoder

A simple, client-side tool to decode and inspect SAML responses. All processing happens locally in your browser β€” no data is sent to any server.

πŸš€ Live Site

https://samlresponsedecoder.jusuchin85.com

✨ Features

  • Decode base64-encoded SAML responses
  • View raw decoded XML with one-click copy
  • Extract X.509 certificate details (Issuer, Subject, Validity, Signature Algorithm)
  • View raw certificate in PEM format
  • Display SAML assertion info (NameID, Issuer, Destination, NotBefore, AuthnInstant, NotOnOrAfter, Session Expires, Status)
  • Show SAML attributes (displayname, email, etc.)
  • Visual indicators for expired/valid timestamps
  • Contextual help modals with field documentation
  • Helpful tooltips on hover for all fields
  • Fully accessible: keyboard navigation, focus trap, ARIA support
  • Mobile responsive design
  • 100% client-side β€” your data never leaves your browser

πŸ“– Usage

  1. Paste your base64-encoded SAML response into the text area
  2. Click Decode
  3. Review the extracted information

πŸ” How to Capture a SAML Response

To capture a SAML response from your browser for troubleshooting:

Chrome / Edge

  1. Open Developer Tools (F12 or Cmd+Option+I on Mac)
  2. Go to the Network tab
  3. Check Preserve log
  4. Initiate the SAML login flow (e.g., sign in to the app)
  5. In the Network tab, look for a POST request to a URL containing /saml/consume or /acs
  6. Click on the request, go to the Payload tab
  7. Find the SAMLResponse parameter and copy its value

Firefox

  1. Open Developer Tools (F12 or Cmd+Option+I on Mac)
  2. Go to the Network tab and check Persist Logs
  3. Initiate the SAML login flow
  4. Look for the POST request to the ACS (Assertion Consumer Service) URL
  5. Click on the request, go to the Request tab
  6. Find and copy the SAMLResponse value

Using Browser Extensions

You can also use extensions like:

For more details, see Okta's guide on viewing SAML responses.

πŸ”’ Privacy

All decoding happens locally in your browser using JavaScript. No SAML data is transmitted to any external server.

πŸ“„ License

MIT

About

A simple, client-side SAML Response decoder. All processing happens locally in your browser.

Topics

Resources

License

Stars

Watchers

Forks

Languages