access token - Google OAuth 2.0 HTTP / RestFul authentication method, refresh_token expiry error -


i have built referring this site

using

https://www.accounts.google.com/o/oauth2/v2/auth?

i used address access token & refresh token.

then tried refresh token using refresh token.

i tried adding following parameters in post format address. https://www.googleapis.com/oauth2/v4/token

if normal, should following json,

access_token":"1/------------------", expires_in":3920, token_type":"bearer" 

however, received following json.

error :invalid_grant, error_description :token has been expired or revoked. 

please advise cause of error.


Comments

Popular posts from this blog

node.js - Node js - Trying to send POST request, but it is not loading javascript content -

javascript - Replicate keyboard event with html button -

javascript - Web audio api 5.1 surround example not working in firefox -