You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: NEWS.md
+6Lines changed: 6 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,6 +20,12 @@ Changes of note:
20
20
21
21
gargle is better able to detect when it's running on Posit Workbench or RStudio Server, e.g., in a subprocess.
22
22
23
+
`gargle_oauth_client_type()` is a new function that returns either "installed"
24
+
or "web".
25
+
It returns the value of the new global option by the same name (`"gargle_oauth_client_type"`), if defined.
26
+
If the option is not defined, returns "web" on RStudio Server, Posit Workbench, or Posit Cloud, and "installed" otherwise.
27
+
In the context of out-of-band (OOB) auth, an "installed" client type leads to the conventional OOB flow (only available for GCP projects in testing mode) and a "web" client leads to the new pseudo-OOB flow.
0 commit comments