Issues with authentication for private instance of Salesforce that appears similar to #111 and #108.
> sf_auth(login_url = "https://PRIVATE-INSTANCE.lightning.force.com/")
Waiting for authentication in browser...
Press Esc/Ctrl + C to abort
Authentication complete.
Error in oauth2.0_access_token(endpoint, app, code = code, user_params = user_params, :
Bad Request (HTTP 400). Failed to get an access token.
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 try sf_list_reports() another window pops up for authentication, the browser says authentication worked, and once I return to R the report list is displayed.
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-salesforcerin 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.