You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// This is an undocumented API method found in https://github.com/ErikKalkoken/slackApiDoc/pull/70
8
8
// Unlike the documention in that PR, we're driving it not with a legacy token but a browser storage+cookie pair
9
9
10
10
// The SLACK_COOKIE is a xoxd-* token found in browser cookies under the key 'd'
11
11
// The SLACK_BROWSER_TOKEN is a xoxc-* token found in browser local storage using this script: https://gist.github.com/maxwofford/5779ea072a5485ae3b324f03bc5738e1
12
12
13
13
// I haven't yet found out how to add custom messages, so those are ignored for now
Copy file name to clipboardExpand all lines: util/upgrade-user.js
+30-17Lines changed: 30 additions & 17 deletions
Original file line number
Diff line number
Diff line change
@@ -24,28 +24,41 @@ async function upgradeUser(user) {
24
24
// The SLACK_COOKIE is a xoxd-* token found in browser cookies under the key 'd'
25
25
// The SLACK_BROWSER_TOKEN is a xoxc-* token found in browser local storage using this script: https://gist.github.com/maxwofford/5779ea072a5485ae3b324f03bc5738e1
0 commit comments