r-lib / gargle

Infrastructure for calling Google APIs from R, including auth
https://gargle.r-lib.org/
Other
113 stars 33 forks source link

Mention `gargle_oauth_client_type()` in `PREFIX_auth_description()` #258

Closed jennybc closed 1 year ago

jennybc commented 1 year ago

If you are interacting with R within a browser (applies to RStudio Server, Posit Workbench, Posit Cloud, and Google Colaboratory), you need a variant of this flow, known as out-of-band auth ("oob") or pseudo-oob. If this does not happen automatically, you can request it explicitly with use_oob = TRUE or, more persistently, by setting an option via options(gargle_oob_default = TRUE).

This should go on to say something about how to get pseudo-oob vs conventional, by using a web client.

jennybc commented 1 year ago

A related change is also needed in the docs for gargle2.0_token(use_oob =).