Quantcast
Channel: Azure Active Directory forum
Viewing all articles
Browse latest Browse all 16000

AADSTS7500525: There was an XML error in the SAML message

$
0
0

Hi,

I am trying to setup Azure AD as my SAML IDP. Already configured everything according to the guide, but getting the following error trying to access Azure:

AADSTS7500525: There was an XML error in the SAML message at line 2, position 753. Verify that the XML content of the SAML messages conforms to the SAML protocol specifications.

The request (obfuscated) looks like this:

<?xml version="1.0" encoding="UTF-8"?><saml2p:AuthnRequest AssertionConsumerServiceURL="https://my-server/callback" Destination="https://login.microsoftonline.com/app-id/saml2" ForceAuthn="false" ID="_xxx" IsPassive="false" IssueInstant="2019-01-07T09:41:51.207Z" ProtocolBinding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST" ProviderName="pac4j-saml" Version="2.0" xmlns:saml2p="urn:oasis:names:tc:SAML:2.0:protocol"><saml2:Issuer Format="urn:oasis:names:tc:SAML:2.0:nameid-format:entity" NameQualifier="my-server" xmlns:saml2="urn:oasis:names:tc:SAML:2.0:assertion">my-server</saml2:Issuer></saml2p:AuthnRequest>

The position in the original XML points to this place: '</saml2p:AuthnRequest>', very last closing tag, right after '/'


Viewing all articles
Browse latest Browse all 16000

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>