-
Notifications
You must be signed in to change notification settings - Fork 49
Closed
r-lib/gargle
#264Description
When I try to get authorization, the google website says: Access blocked: This app’s request is invalid
I am using Google Colab with the R kernel. I used pak to get googledrive 2.1.1.9 and gargle 1.5.0.9.
install.packages("pak")
library("pak")
pak::pak("tidyverse/googledrive")
pak::pakI("r-lib/gargle")
install.packages("httr")
install.packages("R.utils")
library("R.utils")
library("httr")
reassignInPackage("is_interactive", pkgName = "httr", function() return(TRUE))
options(rlang_interactive=TRUE)
library("googledrive")
drive_auth(use_oob = TRUE, cache = FALSE)
I follow the link for authorization, but it says: "Access blocked: This app’s request is invalid" "You can’t sign in because this app sent an invalid request. You can try again later, or contact the developer about this issue."
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
Metadata
Metadata
Assignees
Labels
No labels