Skip to content
This repository has been archived by the owner on Sep 19, 2019. It is now read-only.

Latest commit

 

History

History
30 lines (19 loc) · 751 Bytes

README.md

File metadata and controls

30 lines (19 loc) · 751 Bytes

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