CAS5 flow state transition lose service parameter in URL?

10 views
Skip to first unread message

Yan Zhou

unread,
Dec 28, 2018, 2:51:32 PM12/28/18
to CAS Community
Hello,

When an app directs to CAS, the CAS login URL is appended "service" parameter for later redirect.

In CAS4., state transition from Login page preserves the "service" parameter, the URL does not change as the flow transitions to different states. 

But in CAS5, any state transition from Login page removes the "service" parameter from URL, the URL becomes ..../cas/login. 

We have additional flow that we would want to keep the originating URL with "service" parameter, how can I enable that in CAS5?

Thanks,
Yan

Ray Bon

unread,
Jan 2, 2019, 11:36:30 AM1/2/19
to cas-...@apereo.org
Yan,

In our action class we get parameters with:
service = requestContext.getRequestParameters().get("service");
target = requestContext.getRequestParameters().get("TARGET");

Ray
-- 
Ray Bon
Programmer analyst
Development Services, University Systems
2507218831 | CLE 019 | rb...@uvic.ca
Reply all
Reply to author
Forward
0 new messages