Skip to content
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

How to get the refresh token? #171

Open
SmirnovW opened this issue Sep 5, 2023 · 1 comment
Open

How to get the refresh token? #171

SmirnovW opened this issue Sep 5, 2023 · 1 comment
Assignees

Comments

@SmirnovW
Copy link

SmirnovW commented Sep 5, 2023

Summary

I am in the process of setting up Google Workspace to work with the Google Sheet API. I am following the documentation and using the code samples from a repository.

I have encountered an issue where the token returned by requestAccessToken has a very short lifetime of only one hour. According to the documentation, this is by design. However, this means that users are required to provide their consent to share data and select their Google Account every hour, which can be quite inconvenient.

Is there a way to extend the access token?

@Aw4ken1ngs
Copy link

Faced exactly the same problem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants