Sha256: e013709defb7e23b227ecd28bc0a0efded169d301c5d303857fe2379af2ed026
Contents?: true
Size: 972 Bytes
Versions: 2
Compression:
Stored size: 972 Bytes
Contents
Socialite.setup do |config| ## Configure Classes # If you are not using the default names set below. Please change them to # reflect the correct classes. # # **NOTE** These _should_ be set to string values to prevent any possible # errors caused by load order. config.user_class = 'User' config.identity_class = 'Identity' ## Add any supported OmniAuth providers # You can pass any providers that are supported by OmniAuth simply by # including it in your Gemfile. # # Examples: # config.provider :facebook, ENV['FACEBOOK_APP_KEY'], ENV['FACEBOOK_SECRET'], # :scope => 'email,friends' # config.provider :identity, :on_failed_registration => lambda { |env| # UsersController.action(:new).call(env) # } # config.provider :twitter, ENV['TWITTER_APP_KEY'], ENV['TWITTER_SECRET'] if Rails.env.production? # Any production specific information elsif Rails.env.development? # Configs for development mode go here end end
Version data entries
2 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
socialite-0.1.0.pre | lib/generators/socialite/templates/socialite.rb |
socialite-0.1.0.pre | spec/dummy/config/initializers/socialite.rb |