No commit activity in last 3 years
No release in over 3 years
Bonnier Admin OAuth2 strategy for OmniAuth 1.x
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

Runtime

 Project Readme

#OmniAuth Bonnier OAuth2

Strategy to authenticate Bonnier Admin in OmniAuth.

It's using the OAuth2 from the Bonnier Admin API

##Usage Add the strategy to your Gemfile alongside OmniAuth:

gem 'omniauth'
gem 'omniauth-bonnier-admin-oauth2'

Integrate this strategy to your OmniAuth middleware.

use OmniAuth::Builder do
  provider :bonnier_admin_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.