Skip to content

MSPCFO/omniauth-mspcfo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OmniAuth MSPCFO OAuth2

This is the OmniAuth OAuth2 strategy for authentication to MSPCFO.

Installation

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