Calculates on this device. File exports run online.
SAML Response Viewer
Paste the value of SAMLResponse or SAMLRequest, a whole redirect address, or the XML. The viewer decodes it and shows who the user is, the attributes, every time window, the signatures and the problems a service provider would find. The message is read in your browser.
Enter your values
Check these values
Your values are worked out in this browser. They are not sent to a server.
Your result will show here
Fill in the values, then choose Read the message.
Your result
How it was worked out
How to use it
- Copy the SAMLResponse value from your browser’s developer tools (the form sent to the service provider), or copy the whole address of a redirect with ?SAMLRequest=.
- Paste it into the box and press Read the message.
- Read the problems first, then the times: by default they are compared with the time the message was issued. To see whether it was still valid at another moment, choose A time I type and type that time in UTC.
- Download the decoded XML, or the indented copy for reading.
- To check signatures, or to read many messages from a log or a HAR capture, use the box below.
What the checks look at
- The status code of a response (saml-core-2.0-os, section 3.2.2.2) and whether a successful response holds an assertion.
- Conditions NotBefore and NotOnOrAfter, and the times of SubjectConfirmationData and AuthnStatement: NotBefore is reached at that time, NotOnOrAfter has passed at that time (saml-core-2.0-os, 2.5.1.2).
- The audience, the subject confirmation method (bearer), and whether Recipient and InResponseTo match the Destination and InResponseTo of the response.
- Signatures: whether the response or its assertion is signed, whether each signature refers to the ID of the element that holds it, IDs used twice and assertions hidden deeper in the message (signs of XML signature wrapping), and SHA-1.
- The HTTP-Redirect binding sends a message as raw DEFLATE data, then Base64, then URL encoding; the HTTP-POST binding as Base64 (saml-bindings-2.0-os, 3.4.4.1 and 3.5.4).
Limits
- The XML signature is not checked on this page. The box below checks it on the server; give it the identity provider’s certificate, because a certificate inside the message alone does not show who signed it.
- Encrypted assertions cannot be read without the service provider’s private key, which this tool does not take.
- SAML 1.1 and WS-Federation messages are not read.