Skip to content

Google Oauth Horrific token refresh #121

@Webrow

Description

@Webrow

Thanks for this library first of all.

When following the steps at some point you have to pick if your project is internal or external.
Internal is only possible if you have a gsuite account.
External requires you to apply for "publication if your app", you can invite users to join, but after 7 days their scopes are revoked.
I see nobody else having these issues, anyone want to tell me how they worked around this issue?

In my case I am just parsing some mail, and making some API calls. I do these every minute (also running the Gmail() constructor every minute. After 7 days it challenges me to do a oauth login again. But since this is running on a server, I have to copy over the code, do the auth on my machine, copy back the new token. Its quite handsome.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions