Last active
December 7, 2021 21:34
-
-
Save zk-1/6d5390653a864d368b7d6eb89278b379 to your computer and use it in GitHub Desktop.
Get a list of all authorized users IDs of a Slack app (max 1001 users)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Gets a list of all authorized users IDs of a Slack app in your org (max 1001 users) | |
// In your browser, go to the app's page (slack.com/apps -> Manage -> click on the app), then run this in the browser console: | |
JSON.parse($("div[data-automount-component|='AppDirectoryAuthorizations']")[0].attributes["data-automount-props"].value).authorizations.map(this_auth => this_auth.encodedUserLink).toString() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment