-
-
Notifications
You must be signed in to change notification settings - Fork 72
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
Logout doesn't work #177
Comments
Hey @Spikhalskiy, thanks for your enquiry. Regardless of what you see on the screen, it does log you out. If you try and select any of the menu options, for example, run the list of users, you will be asked to login. The reason why you see the menu is that you haven't provided any "mode" options, as this flag is not stand-alone, and is meant to work with the mode flags. For example, if you run:
(and you don't have a "secrets.txt" or ".env" file with token/cookie), you will be asked to login. I appreciate that it's not immediately clear. The auth workflow has changed in v3 (it's currently WIP): the credentials control is made more concise. V3 will introduce a "workspace management", where one can be logged in at multiple workflows (as per #121 ). Let me know if you have other questions. |
@rusq Thank you for the answer! I concur that it will ask me to login if I select one of the options 1-4 immediately. |
You made a very good point, after I wrote my message, I realised, that if one chooses "Exit", nothing happens 😂 #178 fixes this, thank you for the report! |
There release binaries should be ready in couple of minutes: https://github.com/rusq/slackdump/releases/tag/v2.2.7 |
Describe the bug
Based on the readme and man, I would expect
-auth-reset
flag to log out, so next time I may be able to login into a different account. But the logout doesn't happen and instead, I'm asked for the desired action like I didn't supply the-auth-reset
flag at all.Actual behavior
The next interaction doesn't offer a login and behaves as if I'm still logged in.
Expected behavior
./slackdump -auth-reset
should logout and immediately exit without providing the options of what I would like to do.Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: