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

Google Oauth Horrific token refresh #121

Open
Webrow opened this issue Nov 4, 2024 · 2 comments
Open

Google Oauth Horrific token refresh #121

Webrow opened this issue Nov 4, 2024 · 2 comments

Comments

@Webrow
Copy link

Webrow commented Nov 4, 2024

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.

@carlosace3
Copy link

I have the same problem. I'm tempted to try using the actual Gmail API from Google, but then I'd have to change all my code.

@Cronista
Copy link

Cronista commented Nov 7, 2024

I have the same problem. It is compounded by ChromeDriver not being able to reach a file at googlechromelabs.github.io. Don't know if related.

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