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

Bug: nothing happens when adding "drive" backend after authorizing rclone app in browser and returning to RSAF #55

Closed
soredake opened this issue Apr 28, 2024 · 4 comments · Fixed by #56

Comments

@soredake
Copy link

After authorizing app in browser, I see this:
image

And after returning to app, I see this:
image

@chenxiaolong
Copy link
Owner

Thanks for reporting this. I'm able to reproduce this (sometimes).

The rclone authorization flow in RSAF is very finicky. It relies on parsing logs from rclone authorize because there's no other way to obtain the token after a successful login. The problem you're seeing is caused by a timing issue and happens if rclone logs the token after a short delay (instead of immediately).

I believe I found a decent way to fix this. I'll upload a test build shortly.

@chenxiaolong
Copy link
Owner

@soredake
Copy link
Author

Yes, this pr fixes this problem, thank you!

@chenxiaolong
Copy link
Owner

Great, thanks for testing! I'll merge the PR and release a new version.

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

Successfully merging a pull request may close this issue.

2 participants