forked from External/greenlight
Merge branch 'master' of github.com:blindsidenetworks/greenlight
This commit is contained in:
5
config/initializers/omniauth.rb
Normal file
5
config/initializers/omniauth.rb
Normal file
@ -0,0 +1,5 @@
|
||||
Rails.application.config.middleware.use OmniAuth::Builder do
|
||||
provider :twitter, ENV['TWITTER_ID'], ENV['TWITTER_SECRET']
|
||||
provider :google_oauth2, ENV['GOOGLE_OAUTH2_ID'], ENV['GOOGLE_OAUTH2_SECRET'],
|
||||
scope: 'profile', access_type: 'online', name: 'google'
|
||||
end
|
@ -3,6 +3,8 @@ Rails.application.routes.draw do
|
||||
get 'bbb/close'
|
||||
|
||||
get 'meeting(/:id)', to: 'landing#index'
|
||||
get '/auth/:provider/callback', to: 'sessions#create'
|
||||
get '/logout', to: 'sessions#destroy'
|
||||
|
||||
root to: 'landing#index'
|
||||
# For details on the DSL available within this file, see http://guides.rubyonrails.org/routing.html
|
||||
|
Reference in New Issue
Block a user