This is the OmniAuth OAuth2 strategy for authentication to MSPCFO.
Add this line to your application's Gemfile:
gem 'omniauth-mspcfo'
And then, you need to add the following to your config/initializers/omniauth.rb
:
Rails.application.config.middleware.use OmniAuth::Builder do
provider :mspcfo, ENV['MSPCFO_KEY'], ENV['MSPCFO_SECRET']
end