add github for openid login
This commit is contained in:
parent
c8e741d0ca
commit
bf6b09d9f4
5 changed files with 12 additions and 2 deletions
|
|
@ -14,6 +14,7 @@ Devise.setup do |config|
|
|||
name: 'google',
|
||||
scope: 'email'
|
||||
config.omniauth :facebook, Rails.application.secrets.facebook_key, Rails.application.secrets.facebook_secret
|
||||
config.omniauth :github, Rails.application.secrets.github_key, Rails.application.secrets.github_secret
|
||||
|
||||
# ==> Mailer Configuration
|
||||
# Configure the e-mail address which will be shown in Devise::Mailer,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue