Trouble with apps that open URLs

Hi, so, I’m having trouble with some apps that open URLs. I’m running Cinnamon and I’ve enabled flatpak in order to install install the zen browser (a pretty modified firefox fork). When clicking on links inside discord and whatnot it opens the URLs in the browser just fine. However when trying to log in into Spotify or Postman it just doesn’t respond (literally nothing happens). If I set Firefox as a preferred browser everything works just fine. My best bet was blaming the fact that zen runs as a flatpak.

My findings so far

xdg-open https://example.com/ seems to work fine which makes me feel like this is not an xdg portal issue. Additionally, I’ve noticed this coming out of Spotify’s stdout. It happens the moment the login button is pressed.

/run/current-system/sw/bin/flatpak: /nix/store/5pxxxsmdcpzjlvpjl76sfc3j4nncaydf-curl-8.9.1/lib/libcurl.so.4: version `CURL_OPENSSL_4' not found (required by /run/current-system/sw/bin/flatpak)
/run/current-system/sw/bin/flatpak: /nix/store/5pxxxsmdcpzjlvpjl76sfc3j4nncaydf-curl-8.9.1/lib/libcurl.so.4: version `CURL_OPENSSL_4' not found (required by /nix/store/lrgxla7b3pspx47fb6868di7p2lpszl0-appstream-1.0.3/lib/libappstream.so.5)
/run/current-system/sw/bin/flatpak: /nix/store/5pxxxsmdcpzjlvpjl76sfc3j4nncaydf-curl-8.9.1/lib/libcurl.so.4: version `CURL_OPENSSL_4' not found (required by /nix/store/nwpv7s0rzldrrw9qjdm6zvihy21zlhb0-ostree-2024.4/lib/libostree-1.so.1)

Any help would be appreciated :slight_smile:

I’m also encountering this issue with Spotify log in.

I created an issue for this in Nixpkgs.

I have the same issue, also using Zen as a flatpak.
I was able to make it work by running dbus-monitor while clicking the link, and opening the auth link from my terminal.
Not a proper solution, but atleast I was able to login