Redirect uri must match that passed to oauth request

This commit is contained in:
Tom Moor committed 2017-04-23 20:20:20 -07:00
1 parent f705750e88
commit 80ac9bb5d6
1 file changed
+1 -1
+1 -1
View File
@@ -80,7 +80,7 @@ router.post('auth.slack', async (ctx) => {
const body = {
client_id: process.env.SLACK_KEY,
client_secret: process.env.SLACK_SECRET,
redirect_uri: `${process.env.URL}/auth/slack/`,
redirect_uri: `${process.env.URL}/auth/slack`,
code,
};