Skip to content
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

Oauth dance not working in RStudio #15

Closed
ramnathv opened this issue Jul 11, 2012 · 2 comments
Closed

Oauth dance not working in RStudio #15

ramnathv opened this issue Jul 11, 2012 · 2 comments

Comments

@ramnathv
Copy link

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
@hadley hadley closed this as completed in 5400c8f Jul 12, 2012
@ramnathv
Copy link
Author

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

5400c8f

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?

@jjallaire
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants