Skip to content

Instantly share code, notes, and snippets.

@craigplummer
Created July 29, 2016 15:45
Show Gist options
  • Save craigplummer/49e39b0bebf570a0a92c65b98371a366 to your computer and use it in GitHub Desktop.
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
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