Office365 OAuth2 Strategy for OmniAuth.
Add this line to your application's Gemfile:
gem 'omniauth-office365'
And then execute:
$ bundle
Or install it yourself as:
$ gem install omniauth-office365
Rails.application.config.middleware.use OmniAuth::Builder do
provider :office365, ENV['OFFICE365_KEY'], ENV['OFFICE365_SECRET']
end
- Fork it ( https://github.com/simi/omniauth-office365/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request