Essentially a wrapper around
httr::oauth_app() that extracts the necessary
info from JSON obtained from Google Cloud Platform Console. If no
appname is given,
"project_id" from the JSON is used.
oauth_app_from_json(path, appname = NULL)
JSON downloaded from Google Cloud Platform Console, containing a
client id (aka key) and secret, in one of the forms supported for the
name of the application. This is not used for OAuth, but is used to make it easier to identify different applications.
## Not run: oauth_app( path = "/path/to/the/JSON/you/downloaded/from/gcp/console.json" ) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.