Skip to content

Commit

Permalink
Fixes the oauthlib command in README
Browse files Browse the repository at this point in the history
Bug: 79370099
Change-Id: I5a7871d4d9b449f236dee4ea93a42ceebe17aeef
  • Loading branch information
Fleker committed Jun 12, 2018
1 parent a20f183 commit e75d16f
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions README.md
Expand Up @@ -23,15 +23,16 @@ back the Assistant's spoken response on the connected speaker.
python3 -m venv env
env/bin/python -m pip install --upgrade pip setuptools
env/bin/pip install --upgrade google-auth-oauthlib[tool]
source env/bin/activate
```

- Use the [`google-oauthlib-tool`][google-oauthlib-tool] to generate user credentials:

```bash
env/bin/google-oauthlib-tool --client-secrets credentials.json \
--credentials app/src/main/res/raw/credentials.json \
--scope https://www.googleapis.com/auth/assistant-sdk-prototype \
--save
google-oauthlib-tool --client-secrets credentials.json \
--credentials app/src/main/res/raw/credentials.json \
--scope https://www.googleapis.com/auth/assistant-sdk-prototype \
--save
```
- Make sure to set the [Activity Controls][set-activity-controls] for the Google Account using the application.
- On the first install, grant the sample required permissions for audio and internet access:
Expand Down

0 comments on commit e75d16f

Please sign in to comment.