Skip to content

Commit

Permalink
Merge pull request #199 from mschering/patch-1
Browse files Browse the repository at this point in the history
Update Azure.php
  • Loading branch information
hajekj authored Dec 19, 2023
2 parents efc28aa + a3f03ac commit bd0de16
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Provider/Azure.php
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,8 @@ public function getResourceOwner(\League\OAuth2\Client\Token\AccessToken $token)
*/
public function getResourceOwnerDetailsUrl(\League\OAuth2\Client\Token\AccessToken $token): string
{
return ''; // shouldn't that return such a URL?
$openIdConfiguration = $this->getOpenIdConfiguration($this->tenant, $this->defaultEndPointVersion);
return $openIdConfiguration['userinfo_endpoint'];
}

public function getObjects($tenant, $ref, &$accessToken, $headers = [])
Expand Down

0 comments on commit bd0de16

Please sign in to comment.