diff --git a/src/Provider/Azure.php b/src/Provider/Azure.php index 9a5d1cf..e3fa65c 100644 --- a/src/Provider/Azure.php +++ b/src/Provider/Azure.php @@ -66,7 +66,7 @@ protected function getOpenIdConfiguration($tenant, $version) { } if (!array_key_exists($version, $this->openIdConfiguration[$tenant])) { $versionInfix = $this->getVersionUriInfix($version); - $openIdConfigurationUri = 'https://login.microsoftonline.com/' . $tenant . $versionInfix . '/.well-known/openid-configuration'; + $openIdConfigurationUri = $this->urlLogin . $tenant . $versionInfix . '/.well-known/openid-configuration'; $factory = $this->getRequestFactory(); $request = $factory->getRequestWithOptions( 'get',