GAM-team / got-your-back

Got Your Back (GYB) is a command line tool for backing up your Gmail messages to your computer using Gmail's API over HTTPS.
https://github.com/GAM-team/got-your-back/wiki
Apache License 2.0
2.56k stars 203 forks source link

OAuth delete client 401 #414

Closed nekromoff closed 1 year ago

nekromoff commented 1 year ago

Please confirm the following: x I have upgraded to the latest GYB release from https://github.com/jay0lee/got-your-back/releases and I still have this issue. x I am typing the command as described in the GAM Wiki at https://github.com/jay0lee/got-your-back/wiki

Full steps to reproduce the issue:

  1. upgraded gyb to the latest / Linux
  2. Enter verification code:
  3. Impossible image

Expected outcome (what are you trying to do?): oauth not working

Actual outcome (what errors or bad behavior do you see instead?): oauth working

nekromoff commented 1 year ago

I have fixed it by deleting client_secret.json and recreating first run / project. Maybe this could be done automatically when handling exception such as 401 response.