<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-M74D8PB" height="0" width="0" style="display:none;visibility:hidden">
Loading
Skip to NavigationSkip to Main Content
0D54z00007rEWZtCAOOkta Classic EngineSingle Sign-OnAnswered2024-04-16T12:17:50.000Z2022-07-27T15:01:23.000Z2022-07-28T13:31:12.000Z

9n1y9 (9n1y9) asked a question.

org.opensaml.xml.io.UnmarshallingException: org.opensaml.xml.parse.XMLParserException: Invalid XML

Hi all! I am trying to configure authentication with okta and spring boot and basicaly, I follow these manual https://devforum.okta.com/t/spring-security-saml-and-database-authentication/17305/2 . After starting application there is exception being thrown: org.xml.sax.SAXParseException: DOCTYPE is disallowed when the feature "http://apache.org/xml/features/disallow-doctype-decl" set to true. Debugger led me to AbstractReloadingMetadataProvider, which cant unmarshall byte array. Any suggestions are valuable)


  • 9n1y9 (9n1y9)

    Well, found the bug finally: I provided incorrect idp.

This question is closed.

Recommended content

Loading
org.opensaml.xml.io.UnmarshallingException: org.opensaml.xml.parse.XMLParserException: Invalid XML