Redirect uri must match that passed to oauth request

This commit is contained in:
Tom Moor 2017-04-23 20:20:20 -07:00
parent f705750e88
commit 80ac9bb5d6
No known key found for this signature in database
GPG Key ID: 495FE29B5F21BD41
1 changed files with 1 additions and 1 deletions

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,
};