Skip to content
This repository has been archived by the owner on Jan 10, 2023. It is now read-only.

Deleted client error #145

Open
nouhouari opened this issue Aug 9, 2022 · 2 comments
Open

Deleted client error #145

nouhouari opened this issue Aug 9, 2022 · 2 comments

Comments

@nouhouari
Copy link

Hello,
I'm trying to use skicka on MacOs Monterey with Docker.
When I run the following command:

docker run --rm -it --entrypoint "" satackey/skicka sh -c "skicka -no-browser-auth ls"

and copy/paste the url into the browser, I get a
"Error 401 : deleted_client
The OAuth client was deleted."

@jowagner
Copy link

jowagner commented Nov 19, 2022

I can confirm the error on a Linux desktop PC with skicka ls after skicka init.

Details Webbrowser location: https://accounts.google.com/signin/oauth/error?authError=Cg5kZ[redacted]gkQM%3D&client_id=9522[redacted]ho1e.apps.googleusercontent.com

Text in browser window:

Sign in with Google
Authorization Error
Error 401: deleted_client
The OAuth client was deleted.
English (United States) Help Privacy Terms

@jowagner
Copy link

jowagner commented Nov 19, 2022

Workaround (tested only with ls -ll as I'm only interested in the md5 fingerprints of files):

  1. Create a project in your google cloud console
  2. Add scope > Update selected scopes > Google API Library > Workspace > Google Drive API > Enable
  3. Enter other details and save
  4. APIs & Services > Credentials > Create Credentials > OAuth client ID
  5. Copy "Your Client ID" and "Your Client Secret" to ~/.skicka.config clientid and clientsecret and remove the ;

(I've no idea whether my employer, a google workspace for education customer, is charged for this project and how much.)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants