nbudin / devise_cas_authenticatable

CAS authentication support for Devise
MIT License
285 stars 117 forks source link

Using Gateway Filter #116

Closed chap closed 8 years ago

chap commented 8 years ago

Anybody have luck using rubycas-client's Gatewaying feature?

These don't work:

before_filter CASClient::Frameworks::Rails::GatewayFilter
>> Cannot use the CASClient filter because it has not yet been configured.
before_filter Devise.cas_client::Frameworks::Rails::GatewayFilter
>> #<CASClient::Client: ... is not a class/module
nbudin commented 8 years ago

That feature is an extension of the rubycas-client Filter feature, which is a different authentication solution (separate from Devise). It may be possible to do a similar thing here by manually implementing support for gatewaying in a similar way to how rubycas-client does it, but I'm not entirely sure of the details.

A pull request would be welcome (and I really mean that, not in the usual "patches welcome" way)!

chap commented 8 years ago

Thanks for your thoughts @nbudin, we're still deciding how we're going to deal with this issue.

If we decide to implement this we'll definitely send a PR.