I'm trying to migrate users to Box. FTP is horribly slow (especially since parallel requests seem to confuse Box). I'm hoping that rclone is faster. Unfortunately, rclone requires token authentication. And it fails. Running "rclone authorize box" gets me an error from Box about an insecure_redirect_uri (redirect_uri=http://127.0.0.1:53682/state=...). Alright, Box doesn't want to redirect to an HTTP URI. So I tweak the URI where I ended up at Box so that redirect_uri starts with "https". It works! For a moment... I select "Grant access to Box" and get an error because it's gone to https://127.0.0.1/... and I don't yet have a listener there. (I planned to add a socat proxy.) For kicks I try just changing the URL to be http://127.0.0.1/... That gets me an error from rclone, "The redirect URI is missing or do not match". Poking around the source a bit, I find that all of this local address stuff is hardcoded in ./lib/oauthutil/oauthutil.go. Changing a configuration isn't going to help; I'll have to rebuild. I tried a few times but the instructions about "Make sure you have at least Go 1.7 installed" are misleading. The important part was "The latest release is recommended." I finally figured out that v1.11 is required (I had v1.10) after getting a helpful error message from "go get -u -v github.com/rclone/rclone". OK, now that I can build rclone, it's a simple matter to tweak ./lib/oauthutil/oauthutil.go. I changed RedirectURL to start with "https", built it, and tried again. I grant access and get redirected to https://127.0.0.1/... but before installing a proxy, I tried simply changing the URL to "http://127.0.0.1/". It worked! I got my token. I put the token into the config, finished, and ran "rclone lsd Box:" It works! Now to see what I can do with this...