Call additional URL on service logout

28 views
Skip to first unread message

Brian Gibson

unread,
Aug 7, 2018, 8:33:11 AM8/7/18
to cas-...@apereo.org
One of our portal's subapps doesn't get logged out when the portal calls the /cas/logout URL on our CAS 5.1.2 server, that subapp has it's own logout URL.

Is there a way within CAS 5 to have the client call a URL in the background as they log out of a service?

Thanks!

Jérôme LELEU

unread,
Aug 7, 2018, 9:09:51 AM8/7/18
to CAS Community
Hi,

By default, the CAS server will call the service URL of the CAS applications the user has accessed during his SSO session.

But you can change the application logout URL (called by CAS) via the CAS property when defining the CAS service: logoutUrl.


Thanks.
Best regards,
Jérôme


--
- 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+u...@apereo.org.
To view this discussion on the web visit https://groups.google.com/a/apereo.org/d/msgid/cas-user/CAH9ZEH3DU5u2LDA%2B%2Bgs_hthFgmqMv8WwH_O%2BFGNTFAr1S7mTFg%40mail.gmail.com.

Brian Gibson

unread,
Aug 7, 2018, 11:43:06 AM8/7/18
to cas-...@apereo.org, Jérôme LELEU
Hi Jérôme,

Thanks for the suggestion, we need the end user's browser to make the call to the logout URL and I think the URL in the "logoutUrl" value gets called by the CAS server, no?

- Brian

Jérôme LELEU

unread,
Aug 7, 2018, 1:00:19 PM8/7/18
to Brian Gibson, CAS Community
Hi,

This is another property: the logoutType (BACK_CHANNEL or FRONT_CHANNEL).

In your case (for the browser to send the logout request), you need the front channel logout (https://apereo.github.io/cas/5.3.x/installation/Logout-Single-Signout.html#front-channel).

Thanks.
Best regards,
Jérôme


To unsubscribe from this group and stop receiving emails from it, send an email to cas-user+unsubscribe@apereo.org.
Reply all
Reply to author
Forward
0 new messages