Allow CAS authentication

This commit is contained in:
Emili Parreno 2013-08-28 14:32:51 +02:00
parent 61281a3c81
commit ee96fabcba
2 changed files with 3 additions and 1 deletions

View file

@ -11,7 +11,8 @@ class Users::OmniauthCallbacksController < ApplicationController
Auth::OpenIdAuthenticator.new("yahoo", "https://me.yahoo.com", trusted: true), Auth::OpenIdAuthenticator.new("yahoo", "https://me.yahoo.com", trusted: true),
Auth::GithubAuthenticator.new, Auth::GithubAuthenticator.new,
Auth::TwitterAuthenticator.new, Auth::TwitterAuthenticator.new,
Auth::PersonaAuthenticator.new Auth::PersonaAuthenticator.new,
Auth::CasAuthenticator.new
] ]
skip_before_filter :redirect_to_login_if_required skip_before_filter :redirect_to_login_if_required

View file

@ -7,3 +7,4 @@ require_dependency 'auth/open_id_authenticator'
require_dependency 'auth/github_authenticator' require_dependency 'auth/github_authenticator'
require_dependency 'auth/twitter_authenticator' require_dependency 'auth/twitter_authenticator'
require_dependency 'auth/persona_authenticator' require_dependency 'auth/persona_authenticator'
require_dependency 'auth/cas_authenticator'