SAML url redirect issues

0
Hi, I’m configuring SAML for my PWA. I got my SP and idP configurations all set up and working but i’m having trouble with the pages which you get redirected to when authenticating. I’m using a custom domain instead of the https://url.mendixcloud.com one. I’m having two issues: - When clicking my custom login button to go to the protocol URL, i get redirected to https://url.mendixcloud.com/SSO/assertion. This returns an error message, while https://url.mendixcloud.com/SSO/ redirects me to the correct authn page. How can I change this to redirect me to the correct url? - I’ve set up my SSO using my custom domain as SP. Whenever I go to my protocol URL i get redirected to https://url.mendixcloud.com instead. As i’ve also copied my index.html, after loging in with SSO I get redirected to https://url.mendixcloud.com/index3.html. As I use one static URL for my whole web app I would like to get redirected to my custom domain URL. How can I change this behaviour so that users will always get redirected to my custom domain?   Thanks    
asked
1 answers
0

You need to set the custom runtime setting ApplicationRootUrl. See the faq here:

https://docs.mendix.com/developerportal/deploy/custom-domains#8-3-how-do-i-get-my-saml-metadata-or-communitycommons-getapplicationurl-to-use-the-custom-url 

answered