Commit 61bd79c
committed
Add default scope to default credentials.
Replaces r-lib#229.
This fixes a bug where if no scopes are passed in, application default
credentials fail in the authorized_user flow.
```
>>> credentials_app_default()
NULL
>>> credentials_app_default(scopes=c("https://www.googleapis.com/auth/cloud-platform"))
<Token>
```1 parent 46a7ae6 commit 61bd79c
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
| 48 | + | |
| 49 | + | |
49 | 50 | | |
50 | 51 | | |
51 | 52 | | |
| |||
0 commit comments