I'm using Linux, and error happens when I try to log into Logseq Sync

You might see the url redirection throws error after typing your username and password then click the Login button.
If you are using Linux, you may have to execute
xdg-mime default Logseq.desktop x-scheme-handler/logseq
to map the application with the MIME type.

Reference:

2 Likes

hey there, so apparently AppImages for electron apps using the electron-builder used to have a option where you could make the AppImage install its assets to the system, which would handle creating the desktop file, which is needed to handle the mime associations for the link that the login button tries to open. however, this option has been deprecated, and now you need to use the AppImageLauncher to handle this. basically just install AppImageLauncher from the logseq releases page via a deb or rpm or whatever, and then when you download the logseq appimage and attempt to run it, you will get prompted to install the appimage to your system. after you do this, everything should work fine

2 Likes

this workaround should work after this pr is merged: feat: export login-callback fn by RCmerci · Pull Request #8326 · logseq/logseq · GitHub
also post the steps here:

1 Like