# SAML response debugger

Open the debugger at [ohauthcat.com/saml-debugger](https://ohauthcat.com/saml-debugger/). Paste a `SAMLResponse` (base64 or XML), copied from the Network tab of your browser's developer tools during a sign-in, and add the IdP's signing certificate to check the signature.

## What it checks

The debugger runs OhAuthCat's own SAML validator, the Go code that accepts or refuses real sign-ins, compiled to WebAssembly. It is not a separate implementation written for the page.

- It decodes the response and shows the assertion, the name ID and the attributes.
- It verifies the signature against the certificate you paste, and flags weak algorithms. SHA-1 is accepted only if you turn on the legacy option.
- It checks the issuer, the audience, the destination and the time conditions, as of now or a time you choose.
- It refuses DOCTYPE declarations, comment injection, signature wrapping (XSW) and replayed assertions exactly as a real sign-in does.
- It explains each problem in plain words and links the matching [error code](/errors/).

Encrypted assertions stay encrypted. Decrypting needs the service provider's private key, which never belongs in a browser tool.

## Privacy

Everything runs in your tab. The page makes no request with your data, and nothing is logged or stored; once the validator has loaded, it keeps working offline. Paste only the public certificate, never a private key. See the [privacy model](/tools/#privacy-model).
