'Slack stuck on Sign-In page

I am having an issue correctly opening / creating workspaces from the Slack Electron desktop app. When I open my app, here is the screen that is displayed : enter image description here

I then proceed to signing in, get redirected to my browser, successfully sign-in and click on the xdg-open link to get redirected to my desktop app. At this point, the initial slack window with the sign in button doesn't change.

What I have tried

  • Initial installation made with snap
  • Deleted ~/.config/Slack directory
  • Uninstalled snap package and installed from AUR using Yay
  • Launched slack from terminal for more debug logs
  • Tried to launch slack manually from the magic-link that was logged

The logs during the login process do not report any errors, here is a snippet of them :

[02/02/22, 09:56:42:641] info: Store: UPDATE_SETTINGS {
  "mainWindowSettings": {
    "fullScreen": false,
    "maximized": false,
    "bounds": {
      "x": 351,
      "y": 176,
      "width": 1024,
      "height": 768
    }
  }
} 
[02/02/22, 10:03:26:522] info: Store: HANDLE_DEEP_LINK {
  "url": "slack://somecode/magic-login/somenumbers"
} 

After this, I tried checking in for some possible Window manager errors but I could not find any Here are my system specs : enter image description here

Weird thing is, I have compared my two desktop envs, using the same distro/WM/version of slack and nothing seems different or not up to date.

Thanks for taking the time to help me out



Solution 1:[1]

It's definitely a KDE thing. I have this problem as well, under KDE (on RHEL 8 and on Fedora 35). It used to work, a few months ago. Now, no matter what I have tried (including passing the callback URI by command-line, etc.) it simply does not process the login call. I know there are a few interaction points between the Slack Electron client and the desktop environment (use of the keyring manager for example). I tried very hard to debug this.

I think the next step would probably be to install older and older versions of the Slack app until I find the point at which it stopped working.

I'm not sure we'll get a ton of support from Slack on this, since RHEL 8 dropped official KDE support.

Solution 2:[2]

Are you using Chrome (or Brave, Edge, Chormium et al) by chance?

Copy the url from the newly opened window and paste in Firefox, should work.

Solution 3:[3]

Using firefox worked for me though my problem is different to yours.

I was removed from the only workspace I used. Then I couln't sign-in to any other workspace. Sign-in only redirected me to the old workspace, opening from chrome didn't do anything it kept going back to sign in page as shown by OP.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 McSurly
Solution 2 Pritesh Tupe
Solution 3 ryu