We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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?
to your account
When I try to run the Google auth example, I get:
Error in authorizer(authorize_url, is_interactive) : unused argument (is_interactive)
This is not happening for me with HTTR 0.3 (R version 3.1.1) on OSX Mavericks.
But is happening with HTTR 0.4 on Ubuntu Trusty.
6: authorizer(authorize_url, is_interactive)
5: init_oauth2.0(endpoint, app, scope = params$scope, type = params$type,
use_oob = params$use_oob)
3: token(app = app, endpoint = endpoint, params = params, cache_path = cache_path)$init()
2: new_token(Token2.0, endpoint, app, params, cache = cache)
1: oauth2.0_token(oauth_endpoints("google"), myapp, scope = "https://www.googleapis.com/auth/userinfo.profile")
The text was updated successfully, but these errors were encountered:
Which google auth example?
Sorry, something went wrong.
I was using the Google demo example in this repository:
I had the problem with an API wrapper library that I'm building for the DoubleClick API, but verified that I was having the same problem with the OAUTH demo code above.
+1 same issue. Here's the code I use to connect: https://github.com/1beb/RGoogleDrive/blob/master/R/drive.auth.r
Now works for me, so I've probably fixed the bug in the interim.
Unfortunately I'm still getting the same error.
google_token <- oauth2.0_token(oauth_endpoints("google"), myapp,
+ scope = "https://www.googleapis.com/auth/userinfo.profile")
Error in authorizer(authorize_url, is_interactive) :
unused argument (is_interactive)
I've done some testing, and can see that this is only a problem when setting the following flag so that oauth_exchanger is mapped to authorizer (where is_interactive is not a param).
options(httr_oob_default = TRUE)
I've confirmed that was the problem and have submitted a PR:
Added note to NEWS.md for fix to (r-lib#126)
No branches or pull requests