When I run this on a python environment:
env/bin/google-oauthlib-tool --client-secrets credentials.json \ --credentials devicecredentials.json \ --scope https://www.googleapis.com/auth/assistant-sdk-prototype \ --save
I get this
Please visit this URL to authorize this application: https://accounts.google.com/o/oauth2/auth?response_type=code&client_id=324326529759-7v7i5qhjmbnniqtq5hdfflavaqe9626e.apps.googleusercontent.com&redirect_uri=http%3A%2F%2Flocalhost%3A8080%2F&scope=https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fassistant-sdk-prototype&state=HmHLOq6phamDdQF7y2TaRf3swSHtJf&access_type=offline
when I go to this link and log in to my account I am redirectioned to localhost and I get the error
I have found a way of solving this. Just see your url bar where it is written "&code=xxxxxxxxxxxxxxxxxx". Just copy paste the code from there. and paste it in your terminal. now it should work
When I run this on a python environment:
env/bin/google-oauthlib-tool --client-secrets credentials.json \ --credentials devicecredentials.json \ --scope https://www.googleapis.com/auth/assistant-sdk-prototype \ --save
I get thisPlease visit this URL to authorize this application: https://accounts.google.com/o/oauth2/auth?response_type=code&client_id=324326529759-7v7i5qhjmbnniqtq5hdfflavaqe9626e.apps.googleusercontent.com&redirect_uri=http%3A%2F%2Flocalhost%3A8080%2F&scope=https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fassistant-sdk-prototype&state=HmHLOq6phamDdQF7y2TaRf3swSHtJf&access_type=offline
when I go to this link and log in to my account I am redirectioned to localhost and I get the error
ERR_CONNECTION_REFUSED