-
Notifications
You must be signed in to change notification settings - Fork 164
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Refresh access token using long lived refresh token #131
Comments
I have fought for the last 2 days with authentication and had the exact same issue. It now moved to being |
Hi guys, I have the same problem Last 2 weeks, did you find any solution for it? I try to write some updates in Google Spreadsheets but always got:
|
I encounter the same problem (response message) with code not too dissimilar from this. Anyone has figure something out? |
I am trying to figure out how to update the access token using the refresh token which I got during the initial authorization. I tried multiple ways to do this but I always receive:
The main method to which I have been adding changes to is:
I tried another variation of the
refresh_options
as:Also attempted using
Google::Auth::UserRefreshCredentials
as explained here but I still get theinvalid_grant
error.I do know that my
Client ID
andClient Secret
work because I use the same for the initial authorization request.I would appreciate any help in figuring this out.
@sqrrrl @blowmage
The text was updated successfully, but these errors were encountered: