rubycas / rubycas-client

Ruby client for Yale's Central Authentication Service protocol -- an open source enterprise single sign on system for web applications.
http://code.google.com/p/rubycas-client/
Other
332 stars 217 forks source link

Pos-logout redirect parameter #5

Closed racx closed 12 years ago

racx commented 14 years ago

I needed to configure the logout to redirect to the last accessed page in my application, but I noticed that the logout_url method in client.rb sets the parameter "destination" for the CAS server to redirect after logging out. But some CAS servers, specifically the jasig.org/cas doesn't look into that parameter, it looks into "service" instead.

Can you please update the gem to send the parameter 'service' as well?

soupmatt commented 12 years ago

I agree the default should be service. I'll look at switching it and adding a config parameter.

soupmatt commented 12 years ago

Fix by #31