Offline Hybrid App SSO -

0
I am running a hybrid app on an android device. When I go into airplane mode I receive a ERR_INTERNET_DISCONNECTED message when I try to open the app.  The app is attempting to load https://xxxxx.mendix.cloud.com/SSO/.  I don't get sso issues on he android device  when online. I believe I have followed the following instructions properly(https://docs.mendix.com/howto/mobile/implement-sso-on-a-hybrid-app-with-mendix-and-saml.) This was working fine before the SSO was implemented. I must be missing something but not sure what that might be. Thanks for your help.        
asked
1 answers
2

I found the answer to this with the help of Eric Tieniber from Mendix.

In the phone gap build package there is an folder called config and in that folder an environments.json file. In my case the url value was set to the url value as shown in the developer portal  (https://xxxxxx-accp.mendixcloud.com value) instead of the custom domain value (https://xxxxxx-a.mycustomdomain.com). Changing the url to the custom domain value resolved the issue.

 

Thanks Eric!!

answered