powered by
Get an ID token using the OpenIDConnect Device Flow.
device_flow_auth(endpoint, client_id, scopes = c("openid", "offline_access"))
The credentials retrieved from the token endpoint
An list with a device endpoint specified in it
The client ID for which the token should be obtained
the requested scopes, default to c("openid", "offline_access")
c("openid", "offline_access")
if (FALSE) { endpoint <- discover("https://auth.molgenis.org") device_flow_auth(endpoint, "b396233b-cdb2-449e-ac5c-a0d28b38f791") }
Run the code above in your browser using DataLab