You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I get Authentication complete. Please close this page and return to R. in the browser with url of the format http://localhost:1410/?code=XXXXXXXXXXXXXXX&state=YYYYYYYYY#_=_
However in RStudio server (running through docker) gives a "This site can’t be reached. localhost refused to connect." message in the browser.
The RStudio server can use the .httr-oauth generated just fine.
Any ideas? Let me know if you need more info.
Thanks!
The text was updated successfully, but these errors were encountered:
My suspicion is that the wiring for callback URLs doesn't work the same in Docker / RSS as it does on your local where you can open a page in a browser.
I tried to repro in Docker on local. Here's what I did (from the command line):
docker run -it --entrypoint bash rocker/r-ver:4.1.2
which just hung for me, since I don't have a browser to authenticate in when running in Docker.
TL;DR: I don't think as it's written right now, fitbitr will work in Docker. That said, if you're interested in contributing an auth flow that will work non-interactively, that would be awesome!
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
In rstudio desktop (windows), the followings works:
I get
Authentication complete. Please close this page and return to R.
in the browser with url of the formathttp://localhost:1410/?code=XXXXXXXXXXXXXXX&state=YYYYYYYYY#_=_
However in RStudio server (running through docker) gives a "This site can’t be reached. localhost refused to connect." message in the browser.
The RStudio server can use the .httr-oauth generated just fine.
Any ideas? Let me know if you need more info.
Thanks!
The text was updated successfully, but these errors were encountered: