logout redirect not working

152 views
Skip to first unread message

Stéphane Delcourt

unread,
Feb 5, 2021, 11:29:40 AM2/5/21
to CAS Community

Hi All,

Using cas 6.2.6 I have both version of parameter set to true to be sure:
cas.logout.follow-service-redirects=true
cas.logout.followServiceRedirects=true

Even like this when I logout the browser keep the logout page and redirect never happens :

Am I missing something here ?

Stéphane

Dustin J Luck

unread,
Feb 5, 2021, 2:29:29 PM2/5/21
to CAS Community, stephane...@ulb.be
You should only need the first property to enable service redirects on logout. One thing I can think of that would prevent the redirect is if the URL provided to the service parameter does not match an authorized service in your environment. Make sure that whatever you're passing to the service parameter resolves to a configured service.

A good way to test would be to try https://cas_host/login?service=https%3A%2F%2Fservice_host. If you get a message that the application is not authorized to use CAS, that's your problem.

DELCOURT Stephane

unread,
Feb 5, 2021, 4:43:51 PM2/5/21
to Dustin J Luck, CAS Community

Thanks Dustin I was excepting cas to do a simple redirect without looking if the service was valid or not.
I was missing a / at the end of the service parameter.

 

Stéphane Delcourt
Informaticien – Gestionnaire système - Développeur

T : +32 (0)2 6504180

Reply all
Reply to author
Forward
0 new messages