Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
lib
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

OmniAuth::WegoWise

OmniAuth strategy for the WegoWise API. Using this gem in a WegoWise API client application allows you to easily authenticate users against the WegoWise OAuth API.

Installation

Add gem 'omniauth-wegowise' to your application's Gemfile and run the bundle command to install it via Bundler.

You may also install the gem directly by running gem install omniauth-wegowise.

Usage

Register your app with WegoWise to obtain your application's consumer key and secret credentials. Your app's OmniAuth configuration will use those credentials.

Rack app

use OmniAuth::Builder do
  provider :wegowise, ENV['CONSUMER_TOKEN'], ENV['CONSUMER_SECRET']
end

Rails app

In a Rails app, you could place this code in an initializer such as config/initializers/omniauth.rb.

Rails.application.config.middleware.use OmniAuth::Builder do
  provider :wegowise, ENV['CONSUMER_KEY'], ENV['CONSUMER_SECRET']
end

About

OmniAuth strategy for WegoWise

Resources

License

Releases

No releases published

Languages

You can’t perform that action at this time.