Sets up the global OAuth variables needed for all users. These must be initiated in the global environment for this to function correctly.

setup_global_oauth_vars(
  app_url,
  client_name,
  client_id,
  client_secret,
  claims = list(family_name = NULL, given_name = NULL, userid = NULL, is_certified =
    NULL),
  scope = "openid view download modify"
)

Arguments

app_url

Application URL to redirect back to after OAuth process.

client_name

Synapse OAuth client name.

client_id

Synapse OAuth client ID.

client_secret

Synapse OAuth client secret.

claims

List of items to request access to. Defaults to family_name, given_name, userid, and is_certified. See ##TODO

scope

Space-seperated access scope. Defaults to openid view download modify. See ##TODO