Quantcast
Channel: Mendix Forum Questions
Viewing all articles
Browse latest Browse all 83469

SAML update, assertion and redirect issues

$
0
0
Recently we updated the SAML module on our application and we are getting some weird issues. The module used to work perfectly fine. We are running Mendix 8.18.6, and SAML module version 2.1.3. The request to our SAML provider is successful, and the response comes back successfully. The interface shows that we have both a request and response, and the response status says successful in the XML. However, the Principal on the SAML request entity is not getting filled out when the request comes back. The SAML providers redirection back to {APPURL}/SSO/assertion also fails with a 500 error. The error log with this message, “Unable to validate Response, see SAMLRequest overview for detailed response. Error: null” and it has this stack trace (I have shortened it for length reasons) java.lang.NullPointerException: null at saml20.implementation.ArtifactHandler.handleSAMLResponse(ArtifactHandler.java:76) at saml20.implementation.ArtifactHandler.handleRequest(ArtifactHandler.java:49) at saml20.implementation.SAMLRequestHandler.processRequest(SAMLRequestHandler.java:165) at com.mendix.externalinterface.connector.RequestHandler.doProcessRequest(RequestHandler.java:46) at com.mendix.external.connector.MxRuntimeConnector$1.execute(MxRuntimeConnector.java:76) at com.mendix.external.connector.MxRuntimeConnector$1.execute(MxRuntimeConnector.java:73) We also get this error log, “Unable to render error template” with this stack trace (also shortened) org.apache.velocity.exception.ResourceNotFoundException: Unable to find resource '/SAML/templates/saml2-error-result.vm' at org.apache.velocity.runtime.resource.ResourceManagerImpl.loadResource(ResourceManagerImpl.java:474) at org.apache.velocity.runtime.resource.ResourceManagerImpl.getResource(ResourceManagerImpl.java:352) at org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1533) at org.apache.velocity.app.VelocityEngine.mergeTemplate(VelocityEngine.java:343) at saml20.implementation.SAMLRequestHandler.handleError(SAMLRequestHandler.java:223) at saml20.implementation.SAMLRequestHandler.processRequest(SAMLRequestHandler.java:167) at com.mendix.externalinterface.connector.RequestHandler.doProcessRequest(RequestHandler.java:46) at com.mendix.external.connector.MxRuntimeConnector$1.execute(MxRuntimeConnector.java:76) at com.mendix.external.connector.MxRuntimeConnector$1.execute(MxRuntimeConnector.java:73) Any help appreciated. Thanks

Viewing all articles
Browse latest Browse all 83469

Trending Articles



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