Pablo,

This may give some ideas https://fawnoos.com/2017/10/23/cas-multitenancy/

Ray

On Fri, 2024-02-02 at 21:10 -0800, Pablo Vidaurri wrote:
Notice: This message was sent from outside the University of Victoria email 
system. Please be cautious with links and sensitive information.

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



-- 
- Website: https://apereo.github.io/cas
- Gitter Chatroom: https://gitter.im/apereo/cas
- List Guidelines: https://goo.gl/1VRrw7
- Contributions: https://goo.gl/mh7qDG
--- 
You received this message because you are subscribed to the Google Groups "CAS 
Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cas-user+unsubscr...@apereo.org.
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/deca0ed39ecfa52799c5243c0a4619cfecc3d191.camel%40uvic.ca.

Reply via email to