rclone / rclone-webui-react

A full fledged UI for the rclone cloud sync tool
MIT License
1.28k stars 164 forks source link

Alternate auth mechanism for web-gui #30

Open negative0 opened 5 years ago

negative0 commented 5 years ago

Rclone WebUI is causing weird behavior while authenticating the user. We need some suggestions to tackle it. More about the issue here. Also, this issue here and here. Also here

We could use JWT for auth in the backend, but it will take quite some time to carefully implement in the backend.

I would like to hear ideas going about it while keeping the auth simple.

ridhishjain-zepto commented 4 years ago

@negative0, I think having a double-slider login signup form will be good, I would also like to implement the backend for JWT. Also for once going to dashboard, I can't find a way to log in 😓 As npm start runs, the login screen appears and then the login button is disabled...and verify is also giving errors:

Error connecting. Please check username password and verify if rclone is working at the specified IP.
negative0 commented 4 years ago

This is a cors error, you have to specify the rc-allow-origin=* or rc-allow-origin=localhost:port_no while running the rclone backend.


Set the allowed Access-Control-Allow-Origin for rc requests.

On Fri, 7 Feb, 2020, 3:33 AM ridhishjain, notifications@github.com wrote:

@negative0 https://github.com/negative0, I think having a double-slider login signup form will be good, I would also like to implement the backend for JWT. Also for once going to dashboard, I can't find a way to log in 😓 As npm start runs, the login screen appears and then the login button is disabled...and verify is also giving errors:

Error connecting. Please check username password and verify if rclone is working at the specified IP.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/rclone/rclone-webui-react/issues/30?email_source=notifications&email_token=AC5LNYEQ64XD3YZVVRDIPH3RBSCLNA5CNFSM4I4NNK52YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOELA6O7I#issuecomment-583133053, or unsubscribe https://github.com/notifications/unsubscribe-auth/AC5LNYBY3KIZ4DDZFAWBDB3RBSCLNANCNFSM4I4NNK5Q .