-
Notifications
You must be signed in to change notification settings - Fork 39
Closed
Description
The oauth_app_from_json() works great on client JSON for "Other" type clients, but for "Web" type clients it fails.
The latter is needed for Shiny based auth as it includes the redirect URIs (which will be great to include later on instead of option(googleAuthR.redirect))
The format is largely the same, except it starts with a "web" object and not "installed" e.g.
{"web":{"client_id":"XXX.apps.googleusercontent.com",
"project_id":"blah","auth_uri":"https://accounts.google.com/o/oauth2/auth",
"token_uri":"https://accounts.google.com/o/oauth2/token",
"auth_provider_x509_cert_url":"https://www.googleapis.com/oauth2/v1/certs",
"client_secret":"3nVXXXXXa4",
"redirect_uris":["http://localhost"],
"javascript_origins":["https://www.example.com","http://localhost:1221"]}}Not a pressing issue until Shiny auth is in but a note for future
Metadata
Metadata
Assignees
Labels
No labels