Skip to content

How to get the refresh token? #171

Description

@SmirnovW

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions