https://github.com/simpleweb/omniauth-bluevia
BlueVia Connect OAuth strategy for OmniAuth
https://github.com/simpleweb/omniauth-bluevia
Last synced: 6 days ago
JSON representation
BlueVia Connect OAuth strategy for OmniAuth
- Host: GitHub
- URL: https://github.com/simpleweb/omniauth-bluevia
- Owner: simpleweb
- License: mit
- Created: 2012-04-25T17:03:34.000Z (about 14 years ago)
- Default Branch: master
- Last Pushed: 2012-04-27T08:52:19.000Z (about 14 years ago)
- Last Synced: 2026-05-07T14:20:36.647Z (about 1 month ago)
- Language: Ruby
- Size: 102 KB
- Stars: 2
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Omniauth::Bluevia
OmniAuth strategy for connecting with [BlueVia
connect's](https://bluevia.com/en/) OAuth API.
You'll need to create a BlueVia account and register an new application
[here](https://bluevia.com/en/api-keys/get-commercial).
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:
```ruby
gem 'omniauth-bluevia'
```
And then execute:
$ bundle
Or install it yourself as:
$ gem install omniauth-bluevia
## Usage
```ruby
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