Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failure after entering 2FA-Code #322

Open
indika-dev opened this issue Sep 10, 2024 · 4 comments
Open

Failure after entering 2FA-Code #322

indika-dev opened this issue Sep 10, 2024 · 4 comments

Comments

@indika-dev
Copy link

Describe the bug
Our Slackworkspace is secured by 2FA. I started slackdump with automatic login and after entering username/password and 2FA-code, I'll get the following error message:

error log from slackdump Slackdump 2.5.11 (commit: eff22d0) built on: 2024-08-27T08:25:06Z Logging in to Slack, depending on your connection speed, it will take 15-30 seconds... authenticated. 2024/09/10 09:23:50 failed to authenticate: please double check that token/cookie values are correct (error: authentication error: invalid_auth)

Authentication type (please read)
I tried to authenticate via:

  • Email (manual)
  • Email (automatic, experimental)
  • Other/Manual

To Reproduce
Steps to reproduce the behavior:

  1. Run slackdump with or without commandline arguments
  2. Answer questions, what to export or dump
  3. Browser will open or commandline will ask for your emailadress in Slack
  4. Enter password/email confirmation code
  5. Enter confirmation code
  6. abort with error message from above

Expected behavior
slackdump will recognise, that it is successfully authenticated(as written by slackdump in log) and will download the configured content.

Output
see log in problem description

Desktop (please complete the following information):

  • OS: Ubuntu
  • OS Version: 22.04.4 LTS
  • Slackdump Version: 2.5.11 (commit: eff22d0) built on: 2024-08-27T08:25:06Z

Additional context

@rusq
Copy link
Owner

rusq commented Sep 10, 2024

Thank you for the report. Could you please try running with "-legacy-browser" flag and see if that works?

@rusq
Copy link
Owner

rusq commented Sep 10, 2024

Are you on the enterprise slack workspace? If you are, you'll need to compile v3, and run it with -enterprise flag. v2 does not support enterprise instances.

@indika-dev
Copy link
Author

Are you on the enterprise slack workspace? If you are, you'll need to compile v3, and run it with -enterprise flag. v2 does not support enterprise instances.

I'm on a Business+-Plan with 2FA. I will try this and report back.

@rusq
Copy link
Owner

rusq commented Sep 18, 2024

Hey @indika-dev, did it wok?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants