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

Successful login fails on 303 redirect #2

Closed Empact closed 13 years ago

Empact commented 14 years ago

I'm getting failures logging in via #login_to_service thanks to LoginResponse#parse_http_response considering a 303 redirect (such as that issued by server /login on success) a failure

The same is likely true of 302s, as in this patch: http://github.com/taryneast/rubycas-client/commit/0fa47d9b1e036ca0218a5944f64a7e51f8a3ce8a

zuk commented 14 years ago

Thanks, got it.