simi / omniauth-office365

omniauth provider for Office365
MIT License
16 stars 24 forks source link

Omniauth::Office365 Build Status

Office365 OAuth2 Strategy for OmniAuth.

Installation

Add this line to your application's Gemfile:

gem 'omniauth-office365'

And then execute:

$ bundle

Or install it yourself as:

$ gem install omniauth-office365

Usage

Rails.application.config.middleware.use OmniAuth::Builder do
  provider :office365, ENV['OFFICE365_KEY'], ENV['OFFICE365_SECRET']
end

Contributing

  1. Fork it ( https://github.com/simi/omniauth-office365/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request