rbCAS / CASino

CASino is a Ruby-based Single Sign-On solution supporting the CAS standard
MIT License
329 stars 189 forks source link

How can I call sign_in from devise? #129

Closed andricicezar closed 8 years ago

andricicezar commented 8 years ago

Hello,

When somebody logins with CASino, I want immediately to sign in him to devise. How can I do that? I found this.

I tried to extend the casino/session_helper.rb but I don't know how and how to call devise's method sign_in.

Can you help me?

Thank you!

ianagne commented 8 years ago

I've had success using the devise_cas_authenticatable for my casino client apps in the past.

luxflux commented 8 years ago

CASino does not support user creation (sign up), only login (sign in). It is not recommended to allow users to sign up with CASino. Even though, there are some solutions to this. @nicolasiensen explains how he does it in #46.