-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CAS Authentication #131
CAS Authentication #131
Conversation
- Cas authentication integrated for User - For AdminUser it remains as it is --- AF-24
--- AF-24
--- AF-24
--- AF-24
--- AF-24
--- AF-24
@huerlisi these are the changes we did to the codebase to add support for CAS authentication. Are you interested into such features? |
Nice! I don't think I'll ever need it or can even test it, but I'm more than happy to take this valuable contribution! I'll look into it in the next couple days. |
@huerlisi were you able to have a look into it? Otherwise I'm going to merge it during the next days. |
I've fixed a conflict in the merge request. It look all good from my side. Thanks a lot for this. |
Optional CAS authentication added to
bookyt
devise_cas_authenticatable
addedCAS authentication
extra-attributes
Documentation
Authentcation
You can decide between two authentication mechanisms: Database Authentication,
database_authenticatable
(default) and CAS Authenticationcas_authenticatable
.Database Authentication
For Database Authentication, no changes are needed.
CAS Authentication
If you go for CAS Authentication, set
devise_backend
tocas_authenticatable
and make sure to setcas_base_url
.To handle the extra attributes, add a class named
CASExtraAttributesMapper
which responds to.call
. For example: