TheNetworg / oauth2-azure

Azure AD provider for the OAuth 2.0 Client.
https://packagist.org/packages/thenetworg/oauth2-azure
MIT License
230 stars 108 forks source link

Invalid invocation of getTenantDetails() in AccessToken.php #113

Open decomplexity opened 4 years ago

decomplexity commented 4 years ago

In hajekj commit 0d28aaa of 9 days ago, there seems to be an operand missing in the call of getTenantDetails in AccessToken.php.

Line 52 of AccessToken.php: $tenant = $provider->getTenantDetails($provider->tenant); but

Line 371 of Azure.php: public function getTenantDetails($tenant, $version)