I have a situation where the same app is deployed on different domains, each for a different region... so something like
mysite.uk,
mysite.jp, etc. They all log into a central CAS and CAS delegates to AD.
What I need is to define the callback url depending on the service.
- I see i can define cas.authn.pac4j.oidc[0].azure.callback-url=foobar but that will be used by all the domains.
- In loginProviders.html, it looks like I can update redirectUrl, but it is being ignored and continues to use ${cas.server.prefix}/login th:attr="autoRedirectType=${#strings.toLowerCase(entry.autoRedirectType)},redirectUrl=@{${entry.redirectUrl}}"
- Looks like not support out of the box with a service config (filter for OIDC) https://apereo.github.io/cas/6.6.x/services/Configuring-Service-Custom-Properties.html#supported-properties
Short of overriding a class and introducing new properties, any other ideas?
-psv