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
- 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