Hi all,
I am now trying to use the API features (config/create) for rclone, I am now trying to create a config with type=dropbox. Whenever I try to create a new config, rclone will ask me to visit the link like "12 7.0.0.1:53682/auth?state={STATE}" , is there any possible way that I can manually get dropbox access token and pass into config/create to create a config or I could generate the dropbox authorization link like "www .dropbox. com/1/oauth2/authorize?client_id=5jcck7diasz0rqy&redirect_uri={REDIRECT_URL}&response_type=code&state={state}" ?
Dropbox used to let you paste in a token, but they have gone all in on oauth now.
You or you user will need to do oauth it is just a question of where and who does it.
You can pass in the token in the config create and stop rclone trying to create it easily enough by setting token=XXX config_refresh_token=false. How you get the token is tricky though. You can use rclone authorize
Hi Nick,
I see, is that possible that I could get the value of state and client id so that I could pass make an oauth link myself and authorize without rclone on the client side?
Hi Nick,
Thank you for giving the lead, I will look into it. The reason I needed this is because I am trying to work on a web app that could help on managing configs with permission control, so users can only see their own configs or the team configs. So in this case when they trying to add a new config (dropbox) it is hard that only work on only browsers so I am finding the ways to achieve this.