When authenticating via credentials_user_oauth2, the authentication dance ends in a 404 error rather than the expected code to pass back to RStudio console.
Example:
scope <- c("https://www.googleapis.com/auth/cloud-platform")
token <- gargle::credentials_user_oauth2(
scopes = scope
)
This prompts the expected authentication process, but the final screen shows
Instead of the authentication code.