2012-03-07 12:16:52 +01:00
|
|
|
# Copy this file to 'omniauth.rb' and configure it as necessary.
|
|
|
|
# The wiki has further details on configuring each provider.
|
|
|
|
|
|
|
|
Devise.setup do |config|
|
2012-08-11 02:13:02 +02:00
|
|
|
# config.omniauth :github, 'APP_ID', 'APP_SECRET', :scope => 'user,public_repo'
|
2012-03-07 12:16:52 +01:00
|
|
|
|
|
|
|
# config.omniauth :ldap,
|
|
|
|
# :host => 'YOUR_LDAP_SERVER',
|
|
|
|
# :base => 'THE_BASE_WHERE_YOU_SEARCH_FOR_USERS',
|
|
|
|
# :uid => 'sAMAccountName',
|
|
|
|
# :port => 389,
|
|
|
|
# :method => :plain,
|
|
|
|
# :bind_dn => 'THE_FULL_DN_OF_THE_USER_YOU_WILL_BIND_WITH',
|
|
|
|
# :password => 'THE_PASSWORD_OF_THE_BIND_USER'
|
2012-08-11 02:13:02 +02:00
|
|
|
end
|