Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Authentication options didn't match existing session token and not interactive session so unable to manually reauthenticate #11

Open
KosBar49 opened this issue Nov 22, 2018 · 1 comment

Comments

@KosBar49
Copy link

KosBar49 commented Nov 22, 2018

library("RoogleVision")

options("googleAuthR.client_id" = "XXXXXX")
options("googleAuthR.client_secret" = "XXXXX")

options("googleAuthR.scopes.selected" = c("https://www.googleapis.com/auth/cloud-platform"))

googleAuthR::gar_auth()

And I'm getting the error:
Authentication options didn't match existing session token and not interactive session so unable to manually reauthenticate

Any idea how can I overcome this?

@hayleefay
Copy link

You might try using the option new_user for the gar_auth function, as shown here.
So the line would read:
googleAuthR::gar_auth(new_user = TRUE)

If that doesn't work, try setting a path explicitly using the token option as discussed in this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants