Code
gargle2.0_token(cache = FALSE)
Condition
Error in `self$init_credentials()`:
! OAuth2 flow requires an interactive session.
email = NA
, email = FALSE
means we don't consult the cacheCode
gargle2.0_token(email = NA, cache = cache_folder)
Condition
Error in `self$init_credentials()`:
! OAuth2 flow requires an interactive session.
Code
gargle2.0_token(email = FALSE, cache = cache_folder)
Condition
Error in `self$init_credentials()`:
! OAuth2 flow requires an interactive session.
Code
print(fauxen)
Output
-- <Token (via gargle)> --------------------------------------------------------
oauth_endpoint: google
client: CLIENT
email: 'a@example.org'
scopes: ...userinfo.email
credentials: a
Code
select_pseudo_oob_value("urn:ietf:wg:oauth:2.0:oob")
Condition
Error in `select_pseudo_oob_value()`:
! OAuth client does not have a redirect URI suitable for the pseudo-OOB flow.
Code
select_pseudo_oob_value("http://localhost")
Condition
Error in `select_pseudo_oob_value()`:
! OAuth client does not have a redirect URI suitable for the pseudo-OOB flow.
Code
select_pseudo_oob_value(redirect_uris)
Condition
Error in `select_pseudo_oob_value()`:
! Can't determine which redirect URI to use for the pseudo-OOB flow:
* https://example.com/google-callback/one.html
* https://example.com/google-callback/two.html
Code
t <- gargle2.0_token(email = NA, credentials = list(a = 1), app = client)
Condition
Warning:
The `app` argument of `gargle2.0_token()` is deprecated as of gargle 1.5.0.
i Please use the `client` argument instead.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.