42wim / matterircd

Connect to your mattermost or slack using your IRC-client of choice.
MIT License
295 stars 60 forks source link

support slack two-factor authentication #212

Closed paretje closed 5 years ago

paretje commented 6 years ago

I'm a member of a Slack workspace requiring two-factor authentication. When I send login <team> <login> <pass> to slack, I get the reply missing_pin_sms. I do get the PIN code at the same time.

42wim commented 5 years ago

Google gives me no hits for missing_pin_sms except for this issue :( You could try the work around here to get a token: https://twitter.com/42wim/status/1005200618808586240

paretje commented 5 years ago

I copied the token and sent login xoxs-... to the slack user, but got user_not_found. Should I repeat this with debug logging enabled?

paretje commented 5 years ago

I just tried again using the token to login, and it does work. It failed because I was using the same IRC user as I use for mattermost.

42wim commented 5 years ago

oh great, so we can close this :)