'destination' parameter

4 views
Skip to first unread message

Arfon Smith

unread,
Dec 13, 2009, 5:22:55 PM12/13/09
to rubycas...@googlegroups.com
It is possible to get the RubyCAS server to redirect once a user has
been logged out? Is this what the 'destination' parameter is for?

Cheers
Arfon

Matt Zukowski

unread,
Dec 14, 2009, 11:53:21 AM12/14/09
to rubycas...@googlegroups.com
In short, yes. Append "&destination=http://target.url.com" to the logout request to the server, and the server should offer a redirect out to that URL.

Note that the URL in the destination parameter needs to be url-encoded. Also, I believe right now you'll just see a link offering to redirect the user. The user will not be automatically redirected. At least that's how I (vaguely) remember it working. It's been a while.


--

You received this message because you are subscribed to the Google Groups "RubyCAS" group.
To post to this group, send email to rubycas...@googlegroups.com.
To unsubscribe from this group, send email to rubycas-serve...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubycas-server?hl=en.



Arfon Smith

unread,
Dec 14, 2009, 4:16:33 PM12/14/09
to rubycas...@googlegroups.com
Ahh, URL encoded, that would be what I was doing wrong.

Thanks!
Reply all
Reply to author
Forward
0 new messages