Slack use a magic URL like slack://T08PSQ7BQ/magic-login/<magic-id>
to open a workspace on Slack Desktop.
On KDE, here is a bug: https://bugs.kde.org/show_bug.cgi?id=429408#c3
It looks like this:
but kde-open turn it to:
A bypass way to resolve it is create /usr/local/bin/xdg-open
with following content:
Reference: https://stackoverflow.com/a/71579300/9018019