Answer the question
In order to leave comments, you need to log in
How to delete or update Yandex token?
I'm trying to update the token like this:
$url = "https://oauth.yandex.ru/authorize?response_type=code&client_id=" . $client_id . "&client_secret=" . $client_secret . "&grant_type=refresh_token&refresh_token=" . $yandex_refresh_token;
header("Location: " . $url);
$url = "https://oauth.yandex.ru/revoke_token?access_token=".$token."&client_id=" . $client_id . "&client_secret=".$client_secret;
header("Location: " . $url);
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question