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.
Add this line to your application's Gemfile:
And then execute:
Or install it yourself as:
$ gem install omniauth-bluevia
use OmniAuth::Builder do provider :bluevia, ENV['BLUEVIA_KEY'], ENV['BLUEVIA_SECRET'] end
- Fork it
- Create your feature branch (
git checkout -b my-new-feature)
- Commit your changes (
git commit -am 'Added some feature')
- Push to the branch (
git push origin my-new-feature)
- Create new Pull Request