Github SSO added
This commit is contained in:
parent
65723d3063
commit
b24abd7328
6 changed files with 23 additions and 8 deletions
|
|
@ -282,6 +282,10 @@ Devise.setup do |config|
|
|||
config.omniauth :open_id, name: :launchpad, identifier: 'https://login.ubuntu.com', :client_options => {:ssl => {:ca_path => '/etc/ssl/certs'}}
|
||||
|
||||
config.omniauth :amazon, ENV['AMAZON_CLIENT_ID'], ENV['AMAZON_CLIENT_SECRET'], :client_options => {:ssl => {:ca_path => '/etc/ssl/certs'}}
|
||||
{:ssl => {:ca_path => '/etc/ssl/certs'}}
|
||||
|
||||
# client_options: {ssl: {ca_path: '/etc/ssl/certs'}}
|
||||
config.omniauth :github, ENV['GITHUB_CLIENT_ID'], ENV['GITHUB_CLIENT_SECRET'],
|
||||
client_options: {
|
||||
ssl: { ca_path: '/etc/ssl/certs' }
|
||||
}
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue