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

New token not being refreshed #20

Open
unemx opened this issue Mar 1, 2022 · 3 comments
Open

New token not being refreshed #20

unemx opened this issue Mar 1, 2022 · 3 comments

Comments

@unemx
Copy link

unemx commented Mar 1, 2022

Hello,
first of all thank you for your tool !

I was wondering if the token not being refreshed was a normal behavior ?
I have to frequently logout, then relogin manually to refresh the token.json even though this token contains a refresh_token.

@BRO3886
Copy link
Owner

BRO3886 commented Mar 1, 2022

no you dont have to, I revoked the old client secret so you'll need to replace credentials.json now. I'm trying to figure out a way to bundle it but not keep it a part of the source tree. Please check #19. Thanks!

@unemx
Copy link
Author

unemx commented Mar 1, 2022

I have followed the link you gave in #19.
I have placed the credentials downloaded from GCP next to the gtask bin under the name config.json
When i log in after that, it asks me to visit a link to get a token. Once i enter the token, gtask create a token.json file.

This token.json is the one that frequently expire and i have to $ gtask logout; gtask login to get it to work again.

@BRO3886
Copy link
Owner

BRO3886 commented Mar 2, 2022

Let me check and get back to you

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

2 participants