Hey guys. After a long time, I finally managed to solve that problem. Here's how I did it:
1 - On the terminal, run OneDriver with the --no-browser flag to avoid any browser issues. This will give you a URL that you can open manually to authenticate: onedriver --no-browser ~/Documents Replace ~/Documents with your desired mount point. 2 - Copy the provided URL from the terminal and open it in your browser. After logging in, you'll be redirected to a blank page. 3 - Copy the full URL from that blank page and paste it back into the terminal where OneDriver is waiting.
Additionally, if you encounter permission issues or errors related to missing configuration files, you may need to run the following commands to ensure correct ownership of OneDriver's config/cache directories: mkdir -p ~/.config/onedriver ~/.cache/onedriver