electron-google-oauth2
electron-google-oauth2 copied to clipboard
Is there an APi for refresh token with refresh token?
Hi, I found that if I'm going to refresh the user's token, I need to send a POST request, I didn't find that API in document, so currently I implemented it by myself, but I'm curious is there an API designed for that in this package?
POST https://www.googleapis.com/oauth2/v4/token
Content-Type: application/json
{
"client_id": <client_id>,
"client_secret": <client_secret>,
"refresh_token": <refresh_token>,
"grant_type": "refresh_token"
}