google-code-export / rubycas-client

Automatically exported from code.google.com/p/rubycas-client
1 stars 1 forks source link

CAS::CASClient::Frameworks::Rails::Filter offers no way to use a "service" parameter on the logout_url. #37

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
This is both a deficiency of the Rails filter and of the
CAS::Client::logout_url function.  Currently it always calls logout_url
with the destination_url parameter, which my local CAS server doesn't
respond to.

The attached patch adds the ability to use the "service" parameter on the
logout_url, and adds an option to the filter to use that parameter.  It
should be completely backwards compatible, because the parameters are all
added as "nil" defaults.

Original issue reported on code.google.com by eric.ger...@gmail.com on 26 Apr 2010 at 4:53

Attachments: