Sha256: 42da91d699c266fe801074eafc48af4e56765ac48ef7e32122bc5b3267ba1a56
Contents?: true
Size: 669 Bytes
Versions: 4
Compression:
Stored size: 669 Bytes
Contents
#OmniAuth Bonnier OAuth2 Strategy to authenticate Bonnier in OmniAuth. It's using the OAuth2 from the Bonnier API ##Usage Add the strategy to your `Gemfile` alongside OmniAuth: ```ruby gem 'omniauth' gem 'omniauth-bonnier-oauth2' ``` Integrate this strategy to your OmniAuth middleware. ```ruby use OmniAuth::Builder do provider :bonnier_oauth2, ENV['BONNIER_KEY'], ENV['BONNIER_SECRET'] end ``` You need to add your key and secret. Also remember to add the full callback path to your Bonnier App Console, for example: http://example.com/auth/bonnier-oauth2/callback For more information check the [OmniAuth wiki](https://github.com/intridea/omniauth/wiki).
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
omniauth-bonnier-oauth2-1.2.2 | README.md |
omniauth-bonnier-oauth2-1.2.0 | README.md |
omniauth-bonnier-oauth2-1.1.0 | README.md |
omniauth-bonnier-oauth2-1.0.0 | README.md |