Add Mozilla Persona Omniauth Gem and initializer

This commit is contained in:
Dan Callahan 2013-02-25 18:10:16 -06:00
parent 0c8c41b131
commit fd4d384dc1
3 changed files with 15 additions and 0 deletions

View file

@ -36,6 +36,7 @@ gem "openid-redis-store"
gem "omniauth-facebook" gem "omniauth-facebook"
gem "omniauth-twitter" gem "omniauth-twitter"
gem "omniauth-github" gem "omniauth-github"
gem "omniauth-browserid", :git => "git://github.com/callahad/omniauth-browserid.git", :branch => "observer_api"
gem 'oj' gem 'oj'
gem 'pbkdf2' gem 'pbkdf2'
gem 'pg' gem 'pg'

View file

@ -5,6 +5,16 @@ GIT
rack-mini-profiler (0.1.23) rack-mini-profiler (0.1.23)
rack (>= 1.1.3) rack (>= 1.1.3)
GIT
remote: git://github.com/callahad/omniauth-browserid.git
revision: af62d667626c1622de6fe13b60849c3640765ab1
branch: observer_api
specs:
omniauth-browserid (0.0.2)
faraday
multi_json
omniauth (~> 1.0)
GIT GIT
remote: git://github.com/emberjs/ember-rails.git remote: git://github.com/emberjs/ember-rails.git
revision: 57bbe3202725e55a8e4eaccba83d663b26bcf024 revision: 57bbe3202725e55a8e4eaccba83d663b26bcf024
@ -490,6 +500,7 @@ DEPENDENCIES
nokogiri nokogiri
oj oj
omniauth omniauth
omniauth-browserid!
omniauth-facebook omniauth-facebook
omniauth-github omniauth-github
omniauth-openid omniauth-openid

View file

@ -31,4 +31,7 @@ Rails.application.config.middleware.use OmniAuth::Builder do
SiteSetting.github_client_id, SiteSetting.github_client_id,
SiteSetting.github_client_secret SiteSetting.github_client_secret
provider :browser_id,
:name => 'persona'
end end