oauth2-azure
oauth2-azure copied to clipboard
TypeError in getRootMicrosoftGraphUri
Hi there!
$openIdConfiguration = $this->getOpenIdConfiguration($tenant, $version);
return 'https://' . $openIdConfiguration['msgraph_host'];
After an unsuccessful attempt to get the configuration, getOpenIdConfiguration returns an empty string. As a result, the next line triggers a TypeError. It's not an exception, so it isn't caught by other error handlers.