Skip to content

EZ Login 3000

Rustam edited this page Oct 10, 2024 · 5 revisions
EZ Login

EZ-Login 3000 is a funny name for a process that let’s you log in to Slack Workspace using the browser, in contrast to manually extracting token and authentication cookies. It is also the only way to authenticate with Single-Sign-On. It uses the Chromium-compatible browser in conjunction with brilliant rod and playwright libraries to automate the process. Default library is "rod".

Note
You will need Linux, macOS or Windows to use EZ-Login 3000.

The high level process of login is the following:

For Slackdump v2.5.13 and above (but not v3):

  1. Run slackdump.

  2. Choose the desired dump mode and enter required parameters. Once finished, Slackdump will execute. If you’re already logged in, this is the last step. If you haven’t logged in yet, continue.

  3. Type in the name or URL of your Slack Workspace.

  4. Select EZ-Login Method.

    • if automatic mode is selected, enter your email and password.

  5. Browser starts on the login page, enter your credentials as you would normally do.

    • if automatic mode is selected on step 4, the login happens automatically in an invisible browser (on Windows, you may see an empty window for the duration of the login).

  6. Slackdump executes.

There are several ways of authentication, which are covered below.

Login Methods

The Method selection looks similar to this:

Method Selection Menu

Use your cursor keys to select the desired method and press Enter or Return to select.

Email (manual)

In this mode, the browser is opened on the login page of the selected Slack Workspace.

Email (automatic)

Automated login, you need to enter your Email and Password, and then Slackauth will use a headless browser to login for you.

Automatic Login

Google

Google authentication requires the Chrome compatible browser that you usually use for your day-to-day tasks. The following browsers are supported:

  • Google Chrome

  • Brave

  • Microsoft Edge

  • Chromium.

To log in with Google do the following: . If your current browser is open, close it completely (Press Alt+F4 on Windows, or in Linux; press Cmd+Q on MacOS). . Choose "Google" in the EZ-Login method selection. The browser will open on the Slack Workspace login screen. . Click "Google" button and login with your Google Account. . Wait for the Slack to login. The Slackdump will automatically "click" the "open Slack in your browser" and close the browser. . You’re authenticated.

Apple

See "Email (manual)".

Login with Single-Sign-On

See "Email (manual)".

Other

See "Email (manual)".

Supported browsers

For rod, only Chromium family browsers are supported:

  • Google Chrome;

  • Brave;

  • Microsoft Edge;

  • Chromium.

For playwright:

  • Firefox

  • Chromium

Unsupported browsers: - Every other browser not listed above.

Advanced topics

Using playwright instead of rod

To use playwright instead of rod, use the -legacy-browser flag. For example to start playwright’s Firefox browser:

slackdump -legacy-browser -browser firefox -list-users