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
First, I would like to thank you for giving some code on how to get the access_token.
But upon retrial of the access_token, you also get an refresh token.
Any idea how to use that refresh_token to get a new access_token ( which will expire after 3 days) ?
I tried a bold move of sending a POST request to /yapi/o/token/ with post_data grant_type=refresh_token&refresh_token=[....], but that give response {"error": "invalid_client"}
I kinda assume the invalid_client error really means bad request....
The text was updated successfully, but these errors were encountered:
Hi
First, I would like to thank you for giving some code on how to get the access_token.
But upon retrial of the access_token, you also get an refresh token.
Any idea how to use that refresh_token to get a new access_token ( which will expire after 3 days) ?
I tried a bold move of sending a POST request to
/yapi/o/token/
with post_datagrant_type=refresh_token&refresh_token=[....]
, but that give response{"error": "invalid_client"}
I kinda assume the
invalid_client
error really meansbad request
....The text was updated successfully, but these errors were encountered: