Created
July 29, 2016 15:45
-
-
Save craigplummer/49e39b0bebf570a0a92c65b98371a366 to your computer and use it in GitHub Desktop.
Using Microsoft Azure AD for API Authentication with Rails and Warden - warden.rb
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require Rails.root.join('lib/strategies/azure_ad_json_web_token_strategy') | |
Warden::Strategies.add(:azure_ad_json_web_token, AzureAdJsonWebTokenStrategy) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment