I am not sure if this is an issue with httr or RStudio, but I was not able to complete the browser authentication if I run the github demo from within RStudio. I suspect it is because RStudio opens a different port by default. Here is part of a message which might help.
In server$start(port = 1410, quiet = TRUE) :
RStudio has already started the web server on port 32387
The text was updated successfully, but these errors were encountered:
I see your point. But the trouble is that the port set by RStudio seems to be randomized, making it impossible to get the callback URL to work correctly. Actually, I know remember an issue I had posted long back that caused httr to use this approach when a port is already defined
I believe RStudio changed some things which is the reason for things not working. Any thoughts on what might be a possible approach to solve this issue?
FYI, in the next version of RStudio (v0.98) we are no longer using local sockets for interprocess communication. A side effect of this is that we allow the R httpd server to go on it's merry way without resetting the port, so this issue should go away.
I am not sure if this is an issue with
httr
orRStudio
, but I was not able to complete the browser authentication if I run the github demo from withinRStudio
. I suspect it is because RStudio opens a different port by default. Here is part of a message which might help.The text was updated successfully, but these errors were encountered: