Skip to content

Upgrade omniauth-azure-activedirectory-v2 to v1.0.0

Stan Hu requested to merge sh-upgrade-ms-azure-oauth2-provider into master

This enables Azure Government Cloud to work as an OAuth2 provider since this version refactors out the use of https://graph.microsoft.com/v1.0/me via https://github.com/RIPGlobal/omniauth-azure-activedirectory-v2/pull/1.

Azure Government Cloud uses .us as a suffix, so instead of https://graph.microsoft.com the base URL should be https://graph.microsoft.us. base_azure_url needs to be set to https://login.microsoftonline.us as well.

This upgrade requires upgrading the related OmniAuth gems as well. There are minor changes in those gems.

Relates to #330880 (closed)

Edited by Stan Hu

Merge request reports