diff options
Diffstat (limited to 'vendor/gems/omniauth-azure-oauth2/lib/omniauth/strategies/azure_oauth2.rb')
-rw-r--r-- | vendor/gems/omniauth-azure-oauth2/lib/omniauth/strategies/azure_oauth2.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/vendor/gems/omniauth-azure-oauth2/lib/omniauth/strategies/azure_oauth2.rb b/vendor/gems/omniauth-azure-oauth2/lib/omniauth/strategies/azure_oauth2.rb index f18babc0619..d71911b9876 100644 --- a/vendor/gems/omniauth-azure-oauth2/lib/omniauth/strategies/azure_oauth2.rb +++ b/vendor/gems/omniauth-azure-oauth2/lib/omniauth/strategies/azure_oauth2.rb @@ -59,8 +59,10 @@ module OmniAuth super.merge(resource: azure_resource || options.resource) end + # for compatibility with OmniAuth 2.0 + # see https://github.com/RIPAGlobal/omniauth-azure-activedirectory-v2/pull/6 def callback_url - full_host + script_name + callback_path + full_host + callback_path end def raw_info |