Sha256: 94552e1ddb413b1b60efe3d3823376c24e1328bece251b20af72b861685ef66e

Contents?: true

Size: 596 Bytes

Versions: 17

Compression:

Stored size: 596 Bytes

Contents

# frozen_string_literal: true

Rails.application.config.middleware.use OmniAuth::Builder do |b|
  provider :github,        ENV['GITHUB_KEY'],   ENV['GITHUB_SECRET'],   scope: 'email,profile'
  provider :facebook,      ENV['FACEBOOK_KEY'], ENV['FACEBOOK_SECRET']
  provider :google_oauth2, ENV['GOOGLE_KEY'],   ENV['GOOGLE_SECRET']
  provider :apple,         ENV['APPLE_CLIENT_ID'], '', { scope: 'email name', team_id: ENV['APPLE_TEAM_ID'], key_id: ENV['APPLE_KEY'], pem: ENV['APPLE_PEM'] }
  provider :developer,
           fields: [:first_name, :last_name],
           uid_field: :last_name
end

Version data entries

17 entries across 17 versions & 4 rubygems

Version Path
devise_token_auth-1.2.5 test/dummy/config/initializers/omniauth.rb
devise_token_auth-1.2.4 test/dummy/config/initializers/omniauth.rb
devise_token_auth-1.2.2 test/dummy/config/initializers/omniauth.rb
devise_token_auth-1.2.1 test/dummy/config/initializers/omniauth.rb
devise_token_auth-1.2.0 test/dummy/config/initializers/omniauth.rb
devise_token_auth-1.1.5 test/dummy/config/initializers/omniauth.rb
sidecar_token_auth-1.0.1 test/dummy/config/initializers/omniauth.rb
devise_token_auth-1.1.4 test/dummy/config/initializers/omniauth.rb
devise_token_auth_multitenancy-1.1.3.2 test/dummy/config/initializers/omniauth.rb
devise_token_auth_multitenancy-1.1.3.1 test/dummy/config/initializers/omniauth.rb
devise_token_auth_multitenancy-1.1.3.alpha1 test/dummy/config/initializers/omniauth.rb
devise_jwt_auth-0.1.5 test/dummy/config/initializers/omniauth.rb
devise_jwt_auth-0.1.4 test/dummy/config/initializers/omniauth.rb
devise_jwt_auth-0.1.3 test/dummy/config/initializers/omniauth.rb
devise_jwt_auth-0.1.2 test/dummy/config/initializers/omniauth.rb
devise_jwt_auth-0.1.1 test/dummy/config/initializers/omniauth.rb
devise_jwt_auth-0.1.0 test/dummy/config/initializers/omniauth.rb