Skip to content

wegowise/omniauth-wegowise

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages