Socket
Book a DemoInstallSign in
Socket

omniauth-mindvalley

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

omniauth-mindvalley

bundlerRubygems
Version
0.0.6
Version published
Maintainers
1
Created
Source

Usage and Installation

In your Gemfile:

gem 'omniauth-mindvalley', :git => 'git://github.com/mindvalley/omniauth-mindvalley.git'

In a file called oauth.yml in your config folder:

production:
  mindvalley:
    consumer_key: your_production_key
    consumer_secret: your_production_secret

development:
  mindvalley:
    consumer_key: your_development_key
    consumer_secret: your_development_secret

In an initializer:

OAUTH = YAML.load_file(File.join(Rails.root, "config", "oauth.yml"))

# load all the possible oauth strategies
Rails.application.config.middleware.use OmniAuth::Builder do
  provider :mindvalley, OAUTH[Rails.env]['mindvalley']['consumer_key'],
    OAUTH[Rails.env]['mindvalley']['consumer_secret']
end

FAQs

Package last updated on 27 Mar 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts