You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[2019-05-16 21:54:33] local.INFO: OAuth\Common\Http\Exception\TokenResponseException: Unable to parse response. in /home/memorable/vendor/lusitanian/oauth/src/OAuth/OAuth2/Service/Amazon.php:74
Stack trace:
#0 /home/memorable/vendor/lusitanian/oauth/src/OAuth/OAuth2/Service/AbstractService.php(130): OAuth\OAuth2\Service\Amazon->parseAccessTokenResponse('\x1F\x8B\x08\x00\x00\x00\x00\x00\x00\x03L\xD4\xB7\xCE\xAC...')
#1 /home/memorable/app/controllers/user/UserLoginController.php(435): OAuth\OAuth2\Service\AbstractService->requestAccessToken('ANLdQgTbWizDNFl...')
The response from Amazon looked like this:
�ã��������L‘∑Œ¨f�E—˛>∆__$2å;¬�ÜúCÛâ4¿ês∞˝Ó�Ÿç€]�-ù?�í,+ñ�¨CSÙ?�
I updated the getAccessTokenEndpoint method and everything worked as expected:
From return new Uri('https://www.amazon.com/ap/oatoken');'
to return new Uri('https://api.amazon.com/auth/o2/token');
The text was updated successfully, but these errors were encountered:
The response from Amazon looked like this:
�ã��������L‘∑Œ¨f�E—˛>∆__$2å;¬�ÜúCÛâ4¿ês∞˝Ó�Ÿç€]�-ù?�í,+ñ�¨CSÙ?�
I updated the getAccessTokenEndpoint method and everything worked as expected:
From
return new Uri('https://www.amazon.com/ap/oatoken');'
to
return new Uri('https://api.amazon.com/auth/o2/token');
The text was updated successfully, but these errors were encountered: