linuxauthenticationslackkde-plasma

Signing into slack-desktop not working on 4.23.0 64-bit (Ubuntu)


In the app, going File > Workspace > Sign in to new workspace launches a browser window. After selecting the workspace in browser, it launches back a deep link back to slack but it doesn't work. Nothing happens on the slack-desktop.

When inspecting the commands being run during the linking process it looks like KDE is modifying the link. What do I do to fix this?


Solution

  • The answer provided by Boon is correct. I wanted to leave comment under that answer but apparently I need 50 points to comment so I can only add new answer...

    After digging into the matter it sounds like the kde-open5 from kde-cli-tools is doing some funky lower-casing on first element of URL (slack://A/B/C becomes slack://a/B/C). This sounds like an old bug: https://bugs.kde.org/show_bug.cgi?id=429408

    I suspect that slack changed in how they handle the links/links has changed - it aligns with slack upgrade in my case: slack-desktop:amd64 from 4.22.0 to 4.23.0.

    Looking at process list:

    I've reported this to slack with all the details so I hope it will be fixed.

    Workaround:

    Just adding some details to what (Boon suggested)

    1. Run the quick script in bash:
    while sleep .1; do ps aux | grep slack | grep -v grep | grep magic; done
    
    1. Try logging in to slack - accept login attempt in browser

    2. You should see login link in console:

    kde-open5 slack://WORKSPACE_ID/magic-login/...
    /usr/lib/slack/slack --enable-crashpad slack://workspace_id/magic-login/...
    
    1. Open the slack with correct link:
    /usr/lib/slack/slack --enable-crashpad slack://WORKSPACE_ID/magic-login/...