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-twitter"
gem "omniauth-github"
gem "omniauth-browserid", :git => "git://github.com/callahad/omniauth-browserid.git", :branch => "observer_api"
gem 'oj'
gem 'pbkdf2'
gem 'pg'

View file

@ -5,6 +5,16 @@ GIT
rack-mini-profiler (0.1.23)
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
remote: git://github.com/emberjs/ember-rails.git
revision: 57bbe3202725e55a8e4eaccba83d663b26bcf024
@ -490,6 +500,7 @@ DEPENDENCIES
nokogiri
oj
omniauth
omniauth-browserid!
omniauth-facebook
omniauth-github
omniauth-openid

View file

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