Custom Domain URL

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

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: