aboutsummaryrefslogtreecommitdiffstats
path: root/docs/oauth.html
Commit message (Collapse)AuthorAgeFilesLines
* Fix /slack register not working after API changeTrygve Aaberge2020-05-051-3/+3
| | | | | | | | | | | | | | 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
* Use GitHub Pages for the OAuth redirect pageTrygve Aaberge2020-01-221-0/+68
This adds a page which shows the OAuth code, and sets the redirect_uri for the OAuth link to this page. This url includes # at the end so the OAuth code is only seen by the browser, and not sent to the server.