mirror of https://github.com/mautrix/docs.git
1.6 KiB
1.6 KiB
Authentication
- Open a private chat with the bridge bot. Usually
@slackbot:your.server
.- If the bot doesn't accept the invite, see the troubleshooting page
Password login
Password login supports all Slack features, except portals for Slack conversations will not be created immediately after login. If your Slack account does not have a password you need to use token login or add a password to your account.
- Send the command
login-password <email address> <slack team domain> <password>
, for examplelogin-password me@email.com workplacechat.slack.com hunter2
.
Password login isn't guaranteed to always be fully supported, but you can switch to token-based login at any time afterwards by following the instructions in the Token login section without signing out.
Token login
Token login works for any Slack account and fully supports all Slack features.
- Login to the Slack web app in a browser, and acquire the authentication token and
d
cookie from inside the app.- The token starts with
xoxc-
and can be found using the browser devtools, in the app's local storage inside thelocalConfig_v2
object, asteams['your team ID'].token
. - The cookie is named
d
, it starts withxoxd-
and can be found in the cookies section in the devtools.
- The token starts with
- Send the command
login-token <token> <cookie>
, for examplelogin-token xoxc-tokengoeshere xoxd-cookiegoeshere
After login using a token, all your joined channels will automatically be bridged into Matrix, but DMs will only appear once you receive messages in them.