Joël van de Graaf
Hi Joel, the SAML process opens an in-app-browser on top of your app. Once you’re signed in, that in-app-browser should close. You can tell by whether or not the in-app-browser closed by checking whether you have access to the Cordova API. In order for the browser to close properly, the SAML process needs to redirect you correctly to the URL that your hybrid app expects (in order to meet the if condition near the top of the SAML-hybrid code). I’ve seen this process break down when the Mendix app has 2 URLs (a Mendix cloud URL and a custom URL).
So, my question is: are you using a custom URL for your app? And is that custom URL:
Used by the hybrid app build files in the environments.json file?
If you do both of those things, then the hybrid app will expect a redirect to come back to the custom URL, the Mendix server will use the custom URL in the SAML process, and so everything should work properly.