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.
Register your app with WegoWise to obtain your application's consumer key and secret credentials. Your app's OmniAuth configuration will use those credentials.
use OmniAuth::Builder do provider :wegowise, ENV['CONSUMER_TOKEN'], ENV['CONSUMER_SECRET'] end
In a Rails app, you could place this code in an initializer such as
Rails.application.config.middleware.use OmniAuth::Builder do provider :wegowise, ENV['CONSUMER_KEY'], ENV['CONSUMER_SECRET'] end