Slack stuck on Sign-In page

Viewed 2008

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

6 Answers

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.

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.

It's the kde-cli lower-casing things it should not. As answered here the workaround is to check what command kde-cli is running and run it manually replacing the Slack workspace ID with this uppercase version. Reproducing the solution here: run this: while sleep .1; do ps aux | grep slack | grep -v grep | grep magic; done then try to signin again, when the browser tries to open slack, the command above will output something like this:

kde-open5 slack://WORKSPACE_ID/magic-login/...
/usr/lib/slack/slack --enable-crashpad slack://workspace_id/magic-login/...

So you run the command above replacing workspace_id with its uppercase version

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.

In my case the following helped me: 1- Right click on slack icon. 2- Troubleshooting 3- Report Issue Slack ask me to pass credentials. Then on the top I clicked 'Your workspace' button, it redirected me to browser and I was able to login to the app.

Tried everything commented before but nothing worked on my nex x1 9gen Kde, but installing previous insider/edge version.

sudo snap install slack --channel=insider/edge

Related