Если честно , незнаю так как только начал разработку и тесты вот что в логе : "2020-02-05 15:52:42:000: authorize.php >>> yes HTTP/1.1 302 Found
Content-Type: application/json
Location:
https://social.yandex.net/broker/redirect?code=4660eb50ed948268b827ce1073b51de089073fd2&state=https%3A%2F%2Fsocial.yandex.ru%2Fbroker2%2Fauthz_in_web%2Fc7587c733d6341e0b61bebae679c9fdc%2Fcallback2020-02-05 15:52:43:000: token.php<<POST /test/gettoken.php
93.158.158.74 <<< {"code":"4660eb50ed948268b827ce1073b51de089073fd2","client_secret":"xxxxxx","grant_type":"authorization_code","client_id":"yandex-alice","redirect_uri":"https:\/\/social.yandex.net\/broker\/redirect"}
2020-02-05 15:52:43:000: token.php >>> HTTP/1.1 200 OK
Cache-Control: no-store
Content-Type: application/json
Pragma: no-cache
{"access_token":"a1d99a9f495f236fb23b7b844d6e382fbf0faf02","expires_in":604800,"token_type":"Bearer","scope":"basic","refresh_token":"775897a7df0d20b708d3c961e150db7dc7e4aaed"}
2020-02-05 15:52:43:000: token.php<<POST /test/gettoken.php
93.158.156.97 <<< {"code":"4660eb50ed948268b827ce1073b51de089073fd2","client_secret":"xxxxxx","grant_type":"authorization_code","client_id":"yandex-alice","redirect_uri":"https:\/\/social.yandex.net\/broker\/redirect"}
2020-02-05 15:52:43:000: token.php >>> HTTP/1.1 400 Bad Request
Cache-Control: no-store
Content-Type: application/json
{"error":"invalid_grant","error_description":"Authorization code doesn't exist or is invalid for the client"}"