mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-12-17 19:12:37 -05:00
Allow CAS authentication
This commit is contained in:
parent
61281a3c81
commit
ee96fabcba
2 changed files with 3 additions and 1 deletions
|
@ -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
|
||||||
|
|
|
@ -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'
|
||||||
|
|
Loading…
Reference in a new issue