Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions vignettes/non-interactive-auth.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,20 @@ drive_auth(email = "*@example.com")

At the end of this article, this scenario is explained in detail, if you want to understand why this works.


## Sidebar 3: I am doing this from Posit Workbench

The previous examples assumed you are working "locally", for example on a laptop running RStudio desktop (or other IDE).

If you are developing in an online environment, for example Posit Workbench, you have to make one additional modification to the workflow. In this case add this addition line to your options:

``` {r}
# default on Posit Workbench, but needed for Connect)
options(gargle_oauth_client_type = "web")
```

Then follow the all the other instructions in this guide.

## Embrace credentials available in certain cloud settings

In certain cloud computing contexts, a service account token may be ambiently available (or you can arrange for that to be true).
Expand Down