SeaDrive: Cannot login via SSO in Linux (Gnome/Wayland)

Hi,

I am testing using SeaDrive with the latest Debian Linux using Gnome. After i install the latest version of SeaDrive for Linux, in the Add Account screen i select Single Sign On. This opens a smaller window where i type in the address of the Seafile server and then a small browser window appear that has a blank white screen. This is supposed to show the SSO webpage but for some unknown reason on Gnome (or Wayland) built-in web browser cannot load the SSO page, thus i am not able to pass the login.

This works in windows, which i guess has a different underlying browser which loads the page.

Is there a way to bypass that or use an alternative way to login via SSO in Gnome?

I have also tested with a KDE environment with the same result as they both use Wayland as their backend.

Thanks

You can set the below option to true in seahub_settings.py:

CLIENT_SSO_VIA_LOCAL_BROWSER = True

This will ask the client to use local browser on your computer.

Refer to seahub_settings.py - Seafile Admin Manual

Thank you, that works.

This doesn’t work on Ubuntu 24.04..
It works on windows though

It may be due to some special problem on your computer. You can have a look at seadrive-gui.log. Which version of SeaDrive do you use?