IdentityProviderException when trying to send mails
laurelBE opened this issue · 0 comments
PHP Fatal error: Uncaught League\OAuth2\Client\Provider\Exception\IdentityProviderException: Bad Request in C:\inetpub\wwwroot\bephpforTteam\New\PHPMailer-master\PHPMailer-master\vendor\stevenmaguire\oauth2-microsoft\src\Provider\Microsoft.php:79
Stack trace:
#0 C:\inetpub\wwwroot\bephpforTteam\New\PHPMailer-master\PHPMailer-master\vendor\league\oauth2-client\src\Provider\AbstractProvider.php(613): Stevenmaguire\OAuth2\Client\Provider\Microsoft->checkResponse(Object(GuzzleHttp\Psr7\Response), Array)
#1 C:\inetpub\wwwroot\bephpforTteam\New\PHPMailer-master\PHPMailer-master\vendor\league\oauth2-client\src\Provider\AbstractProvider.php(528): League\OAuth2\Client\Provider\AbstractProvider->getParsedResponse(Object(GuzzleHttp\Psr7\Request))
#2 C:\inetpub\wwwroot\bephpforTteam\New\PHPMailer-master\PHPMailer-master\vendor\phpmailer\phpmailer\src\OAuth.php(114): League\OAuth2\Client\Provider\AbstractProvider->getAccessToken(Object(League\OAuth2\Client\Grant\RefreshToken), Array)
#3 C:\inetpub\wwwroot\bephpforTteam\New\PHPMailer-maste in C:\inetpub\wwwroot\bephpforTteam\New\PHPMailer-master\PHPMailer-master\vendor\stevenmaguire\oauth2-microsoft\src\Provider\Microsoft.php