Get refresh token google api

Found out by adding this to your url parameters

approval_prompt=force

Update:

Use access_type=offline&prompt=consent instead.

approval_prompt=force no longer works
https://github.com/googleapis/oauth2client/issues/453

Leave a Comment