Repository navigation
EZ Login 3000
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. |
-
Run the following command to login into new workspace:
slackdump workspace new <workspace_name>
-
Select EZ-Login Method.
-
if automatic mode is selected, enter your email and password.
-
-
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).
-
-
Slackdump executes.
There are several ways of authentication, which are covered below.
The Method selection looks similar to this:
Use your cursor keys to select the desired method and press Enter or Return to select.
Automatic login only works with Email/Password login, you need to enter your Email and Password, and then Slackauth will use a headless browser to login for you.
This method is identical to Interactive login with the only difference being - it opens the selected browser with the user profile loaded to avoid bot detection, which is necessary for Google Authentication.
When selected, you will be offered to choose one of the browsers installed on your system. Pick one you like the most.
To log in with Google Authentication, 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 "User Browser" in the EZ-Login method selection.
-
Choose any browser on the "Detected browsers" selection screen.
-
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.
QR Code allows one to log in using the "Mobile Sign In" option in the already logged in slack client.
-
In Slackdump menu, choose Workspace =⇒ New =⇒ Login In Browser;
-
Type the workspace name, or paste a workspace URL;
-
Choose "QR Code", and press Enter;
-
In Slack, click the Workspace name, then chose "Sign in on mobile". This provides a QR code that can be used for sign-in.
-
Right click the QR code and choose "Copy image URL".
-
Paste it into Slackdump QR Code image prompt.
-
Press Enter.
A browser will open for a short period of time, and the credentials will be captured and saved.
For rod, only Chromium family browsers are supported:
-
Brave;
-
Chromium;
-
Google Chrome;
-
Microsoft Edge.
For playwright:
-
Firefox;
-
Chromium.
Unsupported browsers: - Every other browser not listed above.
To use playwright instead of rod, use the -legacy-browser flag. For
example to start playwright’s Firefox browser in v2:
slackdump -legacy-browser -browser firefox -list-usersTo do the same in v3:
slackdump workspace new -browser firefox -legacy-browser <your workspace name>