aboutsummaryrefslogtreecommitdiffstats
path: root/docs/Commands.md
diff options
context:
space:
mode:
authorTrygve Aaberge <trygveaa@gmail.com>2020-05-05 22:23:46 +0200
committerTrygve Aaberge <trygveaa@gmail.com>2020-05-05 23:55:15 +0200
commit8379f8a5ee270625afd3ac427ed8ee7f03ac2501 (patch)
tree66276d7914f3a68eed90f8dda92c56dc4e921667 /docs/Commands.md
parent5d27e9066bff8083326fe84877b50f2940d051de (diff)
downloadwee-slack-8379f8a5ee270625afd3ac427ed8ee7f03ac2501.tar.gz
Fix /slack register not working after API change
Slack now disallows # in OAuth redirect uris, so we can't use it to prevent GitHub Pages from seeing the OAuth code anymore. Since the OAuth code is only valid once and expire after 10 minutes, I don't think it's a problem that they are exposed to GitHub Pages, so this is the new default so the same registration process can be kept. However, for people worried about this, there's a new -nothirdparty option to /slack register which can be used which doesn't expose the code. Fixes #766
Diffstat (limited to 'docs/Commands.md')
-rw-r--r--docs/Commands.md6
1 files changed, 5 insertions, 1 deletions
diff --git a/docs/Commands.md b/docs/Commands.md
index ce5240e..8ba5dc3 100644
--- a/docs/Commands.md
+++ b/docs/Commands.md
@@ -95,13 +95,17 @@ Hide or unhide all channels marked as distracting.
### register
```
-/slack register [code/token]
+/slack register [-nothirdparty] [code/token]
```
Register a Slack team in wee-slack. Call this without any arguments and
follow the instructions to register a new team. If you already have a token
for a team, you can call this with that token to add it.
+By default GitHub Pages will see a temporary code used to create your token
+(but not the token itself). If you're worried about this, you can use the
+-nothirdparty option, though the process will be a bit less user friendly.
+
### rehistory
```