Skip to main content
DevTools24

SAML/OAuth Decoder

Decode SAML assertions and OAuth tokens to inspect claims, attributes, and validity. Useful for SSO debugging.

Load example:

About SAML & OAuth

  • • SAML (Security Assertion Markup Language) is an XML-based standard for SSO
  • • OAuth tokens (JWTs) are commonly used for API authentication
  • • Always verify signatures in production - this tool only decodes, not validates
  • • Never share real tokens publicly - they may contain sensitive information

SAML & OAuth - Technical Details

SAML (Security Assertion Markup Language) is an XML-based standard for exchanging authentication data. OAuth tokens (often JWTs) are used for API authorization. This tool decodes but does not validate signatures—always verify signatures in production.

Command-line Alternative

# Decode base64 SAML response\necho 'PHNhbWxw...' | base64 -d | xmllint --format -\n\n# Decode JWT payload\necho 'eyJhb...' | cut -d'.' -f2 | base64 -d | jq

Reference

View Official Specification