How to set relayState

Cantor, Scott cantor.2 at osu.edu
Mon Jul 16 17:05:53 EDT 2012


On 7/16/12 5:02 PM, "Cantor, Scott" <cantor.2 at osu.edu> wrote:
>
>>What I have noticed is the browser is redirected to /partner/bigOrg,
>>which isn't really what I wanted, but there is a cookie named
>>_shibstate_**** that has the URL I want in it.
>
>That isn't possible. Using "cookie" for relayState will result in the URL
>being stored off in the shibstate cookie, and then that's where it will
>redirect you after the POST. You can easily verify that with a browser
>plugin like LiveHeaders.

The correlary to this is that if you're ending up at /partner/bigOrg, then
your web server caused the SP's redirect to /partner/bigOrg/littleOrg to
be rewritten or secondarily redirected to /partner/bigOrg. All of that is
out of the SP's hands.

-- Scott



More information about the users mailing list