action-google-drive
action-google-drive copied to clipboard
This application is blocked
https://accounts.google.com/o/oauth2/auth?client_id=********-**********.apps.googleusercontent.com&redirect_uri=urn%3Aietf%3Awg%3Aoauth%3A2.0%3Aoob&response_type=code&scope=https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fdrive&state=********
This application is blocked This app tries to access sensitive information on your Google Account. To keep your account safe, Google blocks this access
I'm facing the same issue.
I found i got this response when the GOOGLE_CLIENT_ID and GOOGLE_CLIENT_SECRET was not set in the docker container. After I correctly set them, it allowed me through.
Starting up the container with (replace the client ID & secret):
docker run -e GOOGLE_CLIENT_ID=xxxx-your-google-client-id-xx.googleusercontent.com -e GOOGLE_CLIENT_SECRET=xxx_yourGoogleClientSecret_xxxx --rm -it --entrypoint "ash" satackey/skicka
and setting them in the config file with:
sed -i -e "s/;clientid=YOUR_GOOGLE_APP_CLIENT_ID/clientid=$GOOGLE_CLIENT_ID/" ~/.skicka.config && sed -i -e "s/;clientsecret=YOUR_GOOGLE_APP_SECRET/clientsecret=$GOOGLE_CLIENT_SECRET/" ~/.skicka.config && skicka -no-browser-auth ls && cat /root/.skicka.tokencache.json