Skip to content

Instantly share code, notes, and snippets.

@gayangithub
Created September 12, 2016 03:55
Sample error message for the requests with invalid saml version
<?xml version="1.0" encoding="UTF-8"?>
<saml2p:Response xmlns:saml2p="urn:oasis:names:tc:SAML:2.0:protocol" ID="_18e38d24ff417b80ec9b1b3fa10b18d6" IssueInstant="2016-09-12T03:53:24.736Z" Version="2.0">
<saml2:Issuer xmlns:saml2="urn:oasis:names:tc:SAML:2.0:assertion" Format="urn:oasis:names:tc:SAML:2.0:nameid-format:entity">localhost</saml2:Issuer>
<saml2p:Status>
<saml2p:StatusCode Value="urn:oasis:names:tc:SAML:2.0:status:VersionMismatch" />
<saml2p:StatusMessage>Invalid SAML version, expected version is 2.0</saml2p:StatusMessage>
</saml2p:Status>
</saml2p:Response>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment