Custom Domain URL

0
Hello Experts, I have a production app and the urls  1.App URL: https://example.com and this app also has 2.Custom domain: https://example.customdomain.com   While using custom domain, this app has Google sso. After login with sso using OIDC it gets authenticated but it automatically redirects to (https://example.com) instead of (https://example.customdomain.com) and showing login page again. Suspected GetApplicationURL Java action. Any idea or alternate solutions to avoid redirecting app url?  
asked
1 answers
2

GetApplicationURL java action returns the value of the constant ApplicationRootUrl

 

final String applicationURL = UNDER_TEST ? "http://localhost:8080/" : Core.getConfiguration().getApplicationRootUrl();

 

Try setting the value of the ApplicationRootURL properly.

Refer this document: https://docs.mendix.com/refguide/custom-settings/#ApplicationRootUrl

answered