Skip to content

Commit 3f8d322

Browse files
authored
Merge pull request #138 from avenirer/patch-1
Shouldn't we use urlLogin instead of hardcoding?
2 parents f2c3c40 + b2fca40 commit 3f8d322

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Provider/Azure.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ protected function getOpenIdConfiguration($tenant, $version) {
6666
}
6767
if (!array_key_exists($version, $this->openIdConfiguration[$tenant])) {
6868
$versionInfix = $this->getVersionUriInfix($version);
69-
$openIdConfigurationUri = 'https://login.microsoftonline.com/' . $tenant . $versionInfix . '/.well-known/openid-configuration';
69+
$openIdConfigurationUri = $this->urlLogin . $tenant . $versionInfix . '/.well-known/openid-configuration';
7070
$factory = $this->getRequestFactory();
7171
$request = $factory->getRequestWithOptions(
7272
'get',

0 commit comments

Comments
 (0)