BlueVia Connect OAuth strategy for OmniAuth
Ruby
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
lib
.gitignore
Gemfile
LICENSE
README.md
Rakefile
omniauth-bluevia.gemspec

README.md

Omniauth::Bluevia

OmniAuth strategy for connecting with BlueVia connect's OAuth API.

You'll need to create a BlueVia account and register an new application here.

Please note that due to limitations in the way BlueVia has implemented OAuth, it is not possible to get a uid for the user, therefore the auth hash should just be used for credentials that are stored against a local user account, rather than use this as a full blown auth system.

Installation

Add this line to your application's Gemfile:

gem 'omniauth-bluevia'

And then execute:

$ bundle

Or install it yourself as:

$ gem install omniauth-bluevia

Usage

use OmniAuth::Builder do
  provider :bluevia, ENV['BLUEVIA_KEY'], ENV['BLUEVIA_SECRET']
end

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Added some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request