Closed WhiteHotLoveTiger closed 7 years ago
Turns out my problem was occurring because I was behind a proxy. I used a connection outside of my proxy to do the initial authorisation (cell phone hotspot), and now that I'm set up, I can run gapps upload
from behind the proxy using the standard unix command line proxy export in my /etc/profile
:
export http_proxy="http://proxy.company.com:8080/"
export https_proxy="https://proxy.company.com:8080/"
Whe I run
gapps auth
, it gives me a url, I go to the google page, click to allow permissions, and then get an error in the console:My client_secret_blahblah.json looks like this:
{"installed":{"client_id":"123456-qwerty987654321.apps.googleusercontent.com","project_id":"project-id-2468101214","auth_uri":"https://accounts.google.com/o/oauth2/auth","token_uri":"https://accounts.google.com/o/oauth2/token","auth_provider_x509_cert_url":"https://www.googleapis.com/oauth2/v1/certs","client_secret":"QwErTy123456","redirect_uris":["urn:ietf:wg:oauth:2.0:oob","http://localhost"]}}
Should I be calling the auth command differently?