CAS Redirect Issues after warning message is generated

36 views
Skip to first unread message

Batni, Sourabh

unread,
Jul 8, 2016, 2:56:21 PM7/8/16
to cas-...@apereo.org
We are in the process of upgrading to uPortal 4.3 and have a welcome page set up with "Sign in' links to uPortal . The welcome page serves the purpose of displaying few portlets for the unauthenticated users as well as providing the link to sign onto uPortal.

The problem we are running into is when there is a warning message generated within CAS for password expiry and the user is getting shown an intermediate page with the warning message before being redirected. 

In this scenario, the user is getting redirected to the welcome page again though he is having an active CAS session . This can be confirmed by the fact that if the  'Sign in" link is clicked   again , the user is correctly directed to the home dashboard. 

The flow works fine when there are no warning messages.

I am confused why the redirection is not happening to the dashboard immediately after sign in.

We are using CAs 4.0.7 and uPortal 4.3.1​

Thanks

Sourabh


Misagh Moayyed

unread,
Jul 9, 2016, 11:50:12 AM7/9/16
to cas-...@apereo.org
What does your redirect URL from CAS to portal look like? 

And what sort of warning is this? “Your password has expired”? Or “Your password is about to expire”? Your description is a bit confusing because the former constitutes no CAS active session. Your cannot establish an SSO session with an expired account. 

-- 
Misagh
--
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 post to this group, send email to cas-...@apereo.org.
Visit this group at https://groups.google.com/a/apereo.org/group/cas-user/.
To view this discussion on the web visit https://groups.google.com/a/apereo.org/d/msgid/cas-user/1468004174299.47213%40ku.edu.
For more options, visit https://groups.google.com/a/apereo.org/d/optout.

Batni, Sourabh

unread,
Jul 13, 2016, 2:43:39 PM7/13/16
to Misagh Moayyed, cas-...@apereo.org
​ Hi Misagh

It is the "Your password is about to expire" message for which the webflow takes the user to the 
casLoginMessageView.jsp. We have made some customization's in the casWarnPassView.jsp as we had to retain the look and feel of the casLoginMessageView.jsp which was removed after cas 4.x

Also, I see in the logs that the  TGT is created but the Service ticket is never getting created after the redirect​ .


The redirect also seems to work fine in all other applications using CAS 4.0.7 except uPortal 4.3 .

Currently, "Sign in' links on the uPortal guest layout point to the following url


https://<cas-test-server>/cas/login?service=https://<portal-dev-server>/uPortal/Login


Also, I don't face redirect issues if I directly paste the home dashboard url listed below within the browser and sign in.

https://<cas-test-server>/cas/login?service=https://<portal-dev-server>/uPortal/f/home/normal/render.uP

​Thanks for your time

Sourabh








From: cas-...@apereo.org <cas-...@apereo.org> on behalf of Misagh Moayyed <mmoa...@unicon.net>
Sent: Saturday, July 9, 2016 9:49 AM
To: cas-...@apereo.org
Subject: Re: [cas-user] CAS Redirect Issues after warning message is generated
 
Reply all
Reply to author
Forward
0 new messages