Skip to content

Instantly share code, notes, and snippets.

@dmpe
Created February 21, 2021 21:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dmpe/61783eb65a9bae7ca77f2945aa06e773 to your computer and use it in GitHub Desktop.
Save dmpe/61783eb65a9bae7ca77f2945aa06e773 to your computer and use it in GitHub Desktop.
xml test keycloak saml
<md:EntitiesDescriptor xmlns="urn:oasis:names:tc:SAML:2.0:metadata" xmlns:md="urn:oasis:names:tc:SAML:2.0:metadata" xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" Name="urn:keycloak"><md:EntityDescriptor xmlns="urn:oasis:names:tc:SAML:2.0:metadata" xmlns:md="urn:oasis:names:tc:SAML:2.0:metadata" xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" entityID="http://localhost:8080/auth/realms/master"><md:IDPSSODescriptor WantAuthnRequestsSigned="true" protocolSupportEnumeration="urn:oasis:names:tc:SAML:2.0:protocol"><md:KeyDescriptor use="signing"><ds:KeyInfo><ds:KeyName>EQxZBqlBK1w6iOgQhC2mXTMfx--u8xJlJIpMA2AhaWo</ds:KeyName><ds:X509Data><ds:X509Certificate>MIICmzCCAYMCBgF3xjnmxDANBgkqhkiG9w0BAQsFADARMQ8wDQYDVQQDDAZtYXN0ZXIwHhcNMjEwMjIxMjAxMTU5WhcNMzEwMjIxMjAxMzM5WjARMQ8wDQYDVQQDDAZtYXN0ZXIwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQC8R0SUTnrveqtW8jcmsPM43CcngxQIB/7dS1tWd1MA6OvZRPofW+833qdCadowyfHhJqLcKRUCvS35j53jQZJiPV5MInnkDzqJKFRsQTn31ZgoC+SXjei/2NF7UNiCbVOeTrjvy1GdwjROU+EUkZkHm/nk/uIbk6bFjPEQArjQpG5jIGaHMpplN2jNh/G67+1EKTsh3/s6ssF4PYPb2y7b18I1M/VF0D/FurO2RSGX0uPyhey7eYaJx0Pma1zGBGknSExiqgKDW6ttVwQqSeRHvn2/6A0Al85aCKbp6bO1qkJFxThEGuvslV1Oma21fAYcVuBIFngqQnCETFHQMj1nAgMBAAEwDQYJKoZIhvcNAQELBQADggEBACpq/ZxoA9A2pubtZf9jJNZzjjn1XysIk1d+hD/ncxmg4f5iOU20byAeXe4TqBmXDNx0fe85HA7IOg8R46csUGYFBJSv9n5s89sqJPOp+mfby/lb6k9S/5LOh/La7OSx5+yeS9z/+piFVb1xCxWu0gBPyRSzyAWVqI/LQeuoEuy1sumUxOs7ZnxZTw7F58k0SRuWVPoxCoA9E0FkZeDBrM3HMkoMy5cpusT2clW3+bOQhnFDFWJAyP3Ck7QSe67JYhW8Jj4VMUnJHQiFCGsY7VlelfGwDMQV/agmTElIFoupatuF8NXuG8J6vZqhk5LSvZzoY7HllHpA90eTtaf2Ov8=</ds:X509Certificate></ds:X509Data></ds:KeyInfo></md:KeyDescriptor><md:SingleLogoutService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST" Location="http://localhost:8080/auth/realms/master/protocol/saml"/><md:SingleLogoutService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect" Location="http://localhost:8080/auth/realms/master/protocol/saml"/><md:NameIDFormat>urn:oasis:names:tc:SAML:2.0:nameid-format:persistent</md:NameIDFormat><md:NameIDFormat>urn:oasis:names:tc:SAML:2.0:nameid-format:transient</md:NameIDFormat><md:NameIDFormat>urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified</md:NameIDFormat><md:NameIDFormat>urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress</md:NameIDFormat><md:SingleSignOnService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST" Location="http://localhost:8080/auth/realms/master/protocol/saml"/><md:SingleSignOnService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect" Location="http://localhost:8080/auth/realms/master/protocol/saml"/><md:SingleSignOnService Binding="urn:oasis:names:tc:SAML:2.0:bindings:SOAP" Location="http://localhost:8080/auth/realms/master/protocol/saml"/></md:IDPSSODescriptor></md:EntityDescriptor></md:EntitiesDescriptor>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment