Change the default "Log In Successful" page

27 views
Skip to first unread message

Freedom K

unread,
Nov 15, 2022, 8:14:50 AM11/15/22
to CAS Community
Hi everyone.
I am using cas version 5.2.9 and okta as the identity provider.
Sometimes it happens that after the authentication with okta, probably teh session changes and the service is not recognized by CAS, resulting in the green screen of CAS "Log In Successful" (url https://hostname/cas/login?client_name=SAML2Client), instead redirecting to the destination service.

As the root cause of this is hard to be identified, I want to change the "Log In Successful" CAS page to a different url (e.g. the okta page) , so as in cases where the service is not recognized, to show the user the okta page instead of the cas page (we don't want the user to see cas pages as is used as an intermediate application).

Is there a way to replace the default "Log In Successful" page of CAS to a url specified by me via a config or via a different way?

Thank you

Ray Bon

unread,
Nov 15, 2022, 10:45:25 PM11/15/22
to cas-...@apereo.org
Freedom,

cas.view.defaultRedirectUrl=

I am not sure where in the docs that property exists. If no service is supplied to cas, then defaultRedirectUrl becomes the destination.

Upgrading may solve your lost service problem, as well as many others.

Ray

On Tue, 2022-11-15 at 05:10 -0800, Freedom K wrote:
Notice: This message was sent from outside the University of Victoria email system. Please be cautious with links and sensitive information.
Reply all
Reply to author
Forward
0 new messages