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
Creating pseudo OOB auth from DIY client #263
Comments
Yeah I have found (and fixed) a bug in gargle 1.5.0. I'm doing some more checks to make sure I've got it right this time, then will do a patch release ASAP. |
I can't really release gargle until June 17, because I need to wait a week after the v1.5.0 release. But in the meantime, you could roll back to v1.4.0 or install the dev version. If you install the dev version, I'd love to hear confirmation that everything is fixed for you. |
Sorry I did not share. We already had a workaround for bigrquery auth in place. Thanks for looking this up. oauthfunction <- function (scopes = NULL, client = app, package = "gargle", ..., app = NULL) {
gargle::gargle2.0_token(client = client, scope = scopes, package = package, app = client, ...)
}
gargle::cred_funs_set(list("credentials_user_oauth2" = oauthfunction)) @jennybc I've tested with 1.5.0.9000, the issue is gone. Auth works as expected. Thanks |
Running
We hit Erreur 400 : redirect_uri_mismatch
We tracked it down to :
gargle/R/Gargle-class.R
Line 85 in 237e035
there is something funky going on client_type and client$type, so params$oob_value end up null and not working.
We will replicate the function for now, until we can propose a better fix.
The text was updated successfully, but these errors were encountered: