device_flow_auth | R Documentation |
Get an ID token using the OpenIDConnect Device Flow.
device_flow_auth(endpoint, client_id, scopes = c("openid", "offline_access"))
endpoint |
An |
client_id |
The client ID for which the token should be obtained |
scopes |
the requested scopes, default to
|
The credentials retrieved from the token endpoint
## Not run: endpoint <- discover("https://auth.molgenis.org") device_flow_auth(endpoint, "b396233b-cdb2-449e-ac5c-a0d28b38f791") ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.