Capture Requesting URL

Nate Klingenstein ndk at dewpoint.id
Fri Jul 13 14:12:54 EDT 2018


George,

As you observed, Shibboleth and SAML will [attempt to] do this automatically by passing a field called RelayState back and forth.  If you have a specific destination landing page that differs from the page the user was browsing when login was initiated, you can specify that using the target parameter.

https://wiki.shibboleth.net/confluence/display/SHIB2/NativeSPSessionCreationParameters

Hope this helps,
Nate.

--
Dewpoint Identity
https://dewpoint.id
 
-----Original message-----
> From: George Glessner
> Sent: Friday, July 13 2018, 6:07 pm
> To: Shib Users
> Subject: Capture Requesting URL
> 
> 
> 
> Hi All,
> 
> This may be a very simple question, but is there a way for me to capture the URL a user was trying to access before being prompted to authenticate? We need to redirect to a page to set some initial variables and then we want to redirect
>  the user back to the original page they were trying to get to. I have tried using HTTP_REFERER but that comes up blank. Wondering if there is anything I can capture or call in my shibboleth2.xml file since it obviously knows where to redirect when auto-redirect
>  is enabled.
> 
> Thank you!
> 
> --
> 
> For Consortium Member technical support, see https://wiki.shibboleth.net/confluence/x/coFAAg
> 
> To unsubscribe from this list send an email to users-unsubscribe at shibboleth.net
> 
> 


More information about the users mailing list