/omniauth-microsoft-office365

OmniAuth provider for Microsoft Office365

Primary LanguageRubyMIT LicenseMIT

Gem Version Build Status

OmniAuth::MicrosoftOffice365

Office365 OAuth2 Strategy for OmniAuth.

Installation

Add this line to your application's Gemfile:

gem 'omniauth-microsoft-office365'

And then execute:

$ bundle

Or install it yourself as:

$ gem install omniauth-microsoft-office365

Usage

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