inactive Oauth client warning - but I use GYB regularly

24 views
Skip to first unread message

IT PI

unread,
Jun 5, 2025, 5:52:20 AMJun 5
to Got Your Back: Gmail Backup
Hello,

I recently got an email from google that inactive OAuth clients are going to be delete from the Google cloud console.

my gyb project and the created client inside is marked as not having been used after the day I configured/installed gyb - that was october 2023.

But I use it regularly (e.g. to backup accounts, or just doing a test restore). I tried to trigger a auth token exchange with re-assessing/authorizing the scopes gyb --email superXY (at) mydomain.org --action check-service-account

but the client is still marked as being deleted, also waiting 48h+. I made sure I use the correct client-id and client-secret - matching the data in the client_secret and oauth2service json files in the same folder as gyb (also tried using the --config-folder parameter to make sure the correct project/client is used).

however, the token just doesn't get updated. I know I could just restore the deleted client but I would like to prevent this additional step.

I also have gam7 configured, and there, the configured client shows the correct date of last use.

both projects (gam7 and gyb) are using the same Google workspace accounts. But they are separate projects with separate clientIDs and client-Secrets.

how can I make sure I trigger the use of the client on GCC so it doesn't get deleted?

Jay Lee

unread,
Jun 5, 2025, 5:56:37 AMJun 5
to Got Your Back: Gmail Backup
If you are always using --service-account with GYB then you aren't actually using the client_secrets.json file and the client ID. Not a big deal, Google would delete the client ID which you aren't actually using.

GAM on the other hand will use the client ID or service account based on which command you ran, sometimes both get used 

If you don't want Google to delete the GYB client ID you can just authorize as one of your users without adding --service-account and then immediately revoke it.

Jay Lee

--
--
You received this message because you are subscribed to the Google
Groups "Got Your Back: Gmail Backup" group.
To post to this group, send email to got-yo...@googlegroups.com
To unsubscribe from this group, send email to
got-your-bac...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/got-your-back?hl=en?hl=en

---
You received this message because you are subscribed to the Google Groups "Got Your Back: Gmail Backup" group.
To unsubscribe from this group and stop receiving emails from it, send an email to got-your-bac...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/got-your-back/8568b8db-74ae-437c-8527-a34b0e5763ebn%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages