-
-
Notifications
You must be signed in to change notification settings - Fork 19
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
sf_auth(login_url = ) Bad Request (HTTP 400) #132
Comments
Is this still an issue @rdinter-usda? Based on what you described, it prompts twice and works the second time? I will also be switching the package over from {{httr}} to the {{httr2}} package, which maybe could help some of these transient errors if it handles the authentication in a more sophisticated way. I'm not sure. |
Yes this is still an issue, although I would not say it works the second time. Each time I call |
Are you accessing your R session on a remote server via the browser? In other words, are you not running it locally on your laptop? Or is it possible that some other process is running on port 1410 of your machine? According to this article, it sounds like either of those would cause issues like you're seeing and you'd have to try and use out of band authentication. I can try to add those arguments to the |
…authenticate differently according to [this article](https://cran.r-project.org/web/packages/gargle/vignettes/auth-from-web.html). Relates to #132
I am using R locally and verified that port 1410 is not being used by any other process, although that article does sound like similar issues to what I am seeing because of the 400 error that is displayed. |
…authenticate differently according to [this article](https://cran.r-project.org/web/packages/gargle/vignettes/auth-from-web.html). Relates to #132
I was seeing the same behavior when running
|
Issues with authentication for private instance of Salesforce that appears similar to #111 and #108.
Authentication appears to work through the browser, however this error shows up in R. What is strange is I can see a file
.httr-oauth-salesforcer
in working directory that is created and it is roughly 6 bytes. Then when I attempt to trysf_list_reports()
another window pops up for authentication, the browser says authentication worked, and once I return to R the report list is displayed.The text was updated successfully, but these errors were encountered: