Skip to content

Commit 56e0776

Browse files
authored
Merge pull request #152 from bernhardberger/feature/app-id-in-configuration-file
[FEATURE] append appid= parameter to .well-known configuration url (t…
2 parents e591bae + 45d3709 commit 56e0776

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Provider/Azure.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,8 @@ protected function getOpenIdConfiguration($tenant, $version) {
6969
}
7070
if (!array_key_exists($version, $this->openIdConfiguration[$tenant])) {
7171
$versionInfix = $this->getVersionUriInfix($version);
72-
$openIdConfigurationUri = $this->urlLogin . $tenant . $versionInfix . '/.well-known/openid-configuration';
72+
$openIdConfigurationUri = $this->urlLogin . $tenant . $versionInfix . '/.well-known/openid-configuration?appid=' . $this->clientId;
73+
7374
$factory = $this->getRequestFactory();
7475
$request = $factory->getRequestWithOptions(
7576
'get',

0 commit comments

Comments
 (0)