Redirect uri must match that passed to oauth request
This commit is contained in:
parent
f705750e88
commit
80ac9bb5d6
|
@ -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,
|
||||
};
|
||||
|
||||
|
|
Reference in New Issue