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" )
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 |
scope | Space-seperated access scope. Defaults to
|