Discussion:
Token has been expired or revoked
(too old to reply)
Roderick
2022-03-19 19:03:21 UTC
Permalink
After I configured xoauth2 and it worked, now I get above message.

What can I do?

Thanks.

Rodrigo
Roderick
2022-03-19 19:07:56 UTC
Permalink
Now I see the reason:

https://support.google.com/cloud/answer/10311615#zippy=%2Ctesting

"""
Authorizations by a test user will expire seven days from the time of
consent. If your OAuth client requests an offline access type and receives
a refresh token, that token will also expire.
"""
Eduardo Chappa
2022-03-19 22:12:21 UTC
Permalink
Post by Roderick
https://support.google.com/cloud/answer/10311615#zippy=%2Ctesting
"""
Authorizations by a test user will expire seven days from the time of
consent. If your OAuth client requests an offline access type and receives a
refresh token, that token will also expire.
"""
Thank you for pointing this out. I do understand why a toekn would expire
in 7 days, when the app is in testing, but can't see why we need to
register as testing when that is not the case.
--
Eduardo
https://tinyurl.com/yc377wlh (web)
http://repo.or.cz/alpine.git (Git)
Eduardo Chappa
2022-03-19 22:07:36 UTC
Permalink
Post by Roderick
After I configured xoauth2 and it worked, now I get above message.
What can I do?
You should try to start the authorization process again. Did you do
anything in particular that made the server revoke the token? (e.g.: did
you change your password, for example?)
--
Eduardo
https://tinyurl.com/yc377wlh (web)
http://repo.or.cz/alpine.git (Git)
Loading...