You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error 400: invalid_request
The out-of-band (OOB) flow has been blocked in order to keep users secure. Follow the Out-of-Band (OOB) flow migration guide linked in the developer docs below to migrate your app to an alternative method.
Request details: redirect_uri=urn:ietf:wg:oauth:2.0:oob
Error 400: redirect_uri_mismatch
The redirect URI in the request, urn:ietf:wg:oauth:2.0:oob, can only be used by a Client ID for native application. It is not allowed for the WEB client type. You can create a Client ID for native application at https://console.developers.google.com/apis/credentials/oauthclient
Launch and instance and in terminal type: drive init
Copy/paste the url to a new tab
Launch Rstudio and in the console type: googledrive::drive_auth()
Expected behavior
in both case the code /url should open a new page asking for credentials to user's google drive account and unlock functions to upload and download data
Screenshots
If applicable, add screenshots to help explain your problem.
The text was updated successfully, but these errors were encountered:
Describe the bug
Authentication fails with 2 methods:
drive init
as suggested in the documentation (https://docs.sepal.io/en/latest/cli/gdrive.html)Error 400: invalid_request
The out-of-band (OOB) flow has been blocked in order to keep users secure. Follow the Out-of-Band (OOB) flow migration guide linked in the developer docs below to migrate your app to an alternative method.
Request details: redirect_uri=urn:ietf:wg:oauth:2.0:oob
Potential app out-of-date issue: odeke-em/drive#1146
googledrive::drive_auth()
Error 400: redirect_uri_mismatch
The redirect URI in the request, urn:ietf:wg:oauth:2.0:oob, can only be used by a Client ID for native application. It is not allowed for the WEB client type. You can create a Client ID for native application at https://console.developers.google.com/apis/credentials/oauthclient
using
googledrive::drive_auth(use_oob = TRUE)
as suggested here for R in a web browser also doesn't work: https://googledrive.tidyverse.org/reference/drive_auth.htmlTo Reproduce
Steps to reproduce the behavior:
Launch and instance and in terminal type:
drive init
Copy/paste the url to a new tab
Launch Rstudio and in the console type:
googledrive::drive_auth()
Expected behavior
in both case the code /url should open a new page asking for credentials to user's google drive account and unlock functions to upload and download data
Screenshots
If applicable, add screenshots to help explain your problem.
The text was updated successfully, but these errors were encountered: