You can set the logout url for a service to be used with SLO. By default cas 
will send logout requests to the log in url.
The application property is for setting a different target than the builtin cas 
logout page.
SLO is a complicated process for applications and users (much more so than log 
in).

What is the use case for having a dynamically determined redirect url?

Ray

On Wed, 2020-12-23 at 18:54 -0800, cheekian yap wrote:
Notice: This message was sent from outside the University of Victoria email 
system. Please be cautious with links and sensitive information.

Or is there a way to dynamically assign a domain to service parameter instead 
of hardcode it inside application.properties so that the redirect-url work on 
per-service basis.

cheekian yap 在 2020年12月24日 星期四上午10:05:56 [UTC+8] 的信中寫道:
Hi,

cas version 6.2.6

https://apereo.github.io/cas/6.1.x/installation/Logout-Single-Signout.html#redirecting-logout-to-service
I'm able to redirect back to my own service after logout with the following 
properties:

cas.logout.follow-service-redirects=true
cas.logout.redirect-parameter=service
cas.logout.redirect-url=https://<cas-domain>/cas/logout?service=http\://<service-provider>

However, this is not a desired setup as I will have more service provider 
integrate with cas.
So instead I placed the redirect url on service registry json file:

{
  "@class" : "org.apereo.cas.services.RegexRegisteredService",
  "serviceId" : ".*",
  "name" : "test",
  "id" : 1001111,
  "evaluationOrder" : 44,
  "logoutType" : "BACK_CHANNEL",
  "logoutUrl" : 
"https://<cas-domain>/cas/logout?service=http://<service-provider>"
}

This is not working as expected and I'm still stuck on cas logout page. What am 
I doing wrong here?


--

Ray Bon
Programmer Analyst
Development Services, University Systems
2507218831 | CLE 019 | r...@uvic.ca<mailto:r...@uvic.ca>

I respectfully acknowledge that my place of work is located within the 
ancestral, traditional and unceded territory of the Songhees, Esquimalt and 
WSÁNEĆ Nations.

-- 
- 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/c238c1551231d6d67e08c5a34195bc500c69fd48.camel%40uvic.ca.

Reply via email to