How to find out the original URL entered by the user
Cantor, Scott
cantor.2 at osu.edu
Wed Mar 11 18:30:27 EDT 2015
> I want the user to pick a location after login and before entering the
> application. So, I set the target attribute as follows in shibboleth2.xml.
Setting target there is extremely rare, but it basically locks the resource to come back to after a login and ignores whatever the user started with.
> Shibboleth properly redirects the user to the URI /location/select after
> successful login. After picking the location, I want the user to proceed with
> the original URL entered by him/her(e.g
> https://<server>/customer/1000/show). Currently, I am redirecting the user
> to home page (https://<server>/home) after location selection. Is it possible
> to determine the URL entered by the user from shibboleth?
Not that way. You don't want to hardcode target, you want to manually invoke the login yourself and construct a target URL containing the information you need to remember and send that as the target parameter to /Shibboleth.sso/Login
There's no way short of Apache rewrite tricks to do any of that with an implicit SSO based on requireSession being on, at least not that I can think of.
-- Scott
More information about the users
mailing list