Skip to content

Latest commit

 

History

History
27 lines (15 loc) · 539 Bytes

README.md

File metadata and controls

27 lines (15 loc) · 539 Bytes

ominauth-bn-office365

This gem allows you to use Azure Active Directory Authentication with OmniAuth for signing in users.

Installation

Add this line to your application's Gemfile:

gem 'ominauth-bn-office365'

And then execute:

$ bundle install

Or install it yourself as:

$ gem install omniauth-bn-office365

Usage

Add the office365 provider to the OmniAuth.rb initializer to use the provider.

provider :office365, ENV['AZURE_APP_ID'], ENV['AZURE_APP_SECRET'],
    allowed_domains: 'gmail.com'