Open TonalidadeHidrica opened 3 years ago
I got the same error
Can this be looked upon? It breaks functionality of the tool
A workaround, unless/until someone fixes this on the google side, is to create your own OAuth client id, as described here. Then, edit this line in skicka.go:
const clientId = "952282617835-siotrfjbktpinek08hrnspl33d9gho1e.apps.googleusercontent.com"
and replace it with the one you generated.
This is the right fix
thanks @mmp :)
Same error aswell
I get:
skicka: attempting to launch browser to authorize.
(Re-run skicka with the -no-browser-auth option to authorize directly.)
skicka: error with OAuth2 Authorization: oauth2: cannot fetch token: 400 Bad Request
Response: {
"error": "invalid_request",
"error_description": "client_secret is missing."
}
when attempting to use the workaround of creating a manual oath2 id.
[EDIT]
Ahh, found the issue -- you have to edit your ~/.skicka.config
file to add your secret. Here's the workflow that worked for me (note you don't have to edit the source either this way):
clientid
line (by removing the ;
) from ~/.skicka.config
and set the value to the clientid from the above pageclientsecret
line (by removing the ;
) from ~/.skicka.config
and set the value to the secret from the above page
When I tried to authorize via browser (run
skicka init
and thenskicka ls
without setting any value), I got the following error after clicking my e-mail address:Why did it happen and how can I workaround?