Skip to content

Commit c7bc672

Browse files
mjggauteh
authored andcommitted
Mention -f to force reauth with new client secret
Turns out I had done everything right with my first attempt at GCP console (and possibly most of the other attempts), but `gmi auth -c clientsecret.json` does not reauthorize unless you force it to, by removing the credentials file or (better) specifying `-f`. Save others from the hassle and give a hint. GCP is complicated enough already.
1 parent e297099 commit c7bc672

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/index.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ The 'trash' local tag can be replaced using the `--local-trash-tag` option.
226226

227227
Lieer ships with an API key that is shared openly, this key shares API quota, but [cannot be used to access data](https://github.com/gauteh/lieer/pull/9) unless access is gained to your private `access_token` or `refresh_token`.
228228

229-
You can get an [api key](https://console.developers.google.com/flows/enableapi?apiid=gmail) for a CLI application to use for yourself. Store the `client_secret.json` file somewhere safe and specify it to `gmi auth -c`. You can do this on a repository that is already initialized.
229+
You can get an [api key](https://console.developers.google.com/flows/enableapi?apiid=gmail) for a CLI application to use for yourself. Store the `client_secret.json` file somewhere safe and specify it to `gmi auth -c`. You can do this on a repository that is already initialized, possibly using `-f` to force reauthorizing with the new client secrets.
230230

231231

232232
# Privacy policy

0 commit comments

Comments
 (0)