Open MH-Shakil38 opened 5 months ago
\vendor\league\oauth2-client\src\Provider\AbstractProvider.php
$oauthClient->getAccessToken('authorization_code', [ 'code' => $authCode, ]);
After calling this issues. Getting the error : Invalid response received from Authorization Server. Expected JSON
Have you checked your response in the abstractProvider?
Maybe the same mistake as mine.
I debugged the $response of the getAccessToken (AbstractProvider.php) method and encountered the following error
\vendor\league\oauth2-client\src\Provider\AbstractProvider.php
$oauthClient->getAccessToken('authorization_code', [ 'code' => $authCode, ]);
After calling this issues. Getting the error : Invalid response received from Authorization Server. Expected JSON