-
Notifications
You must be signed in to change notification settings - Fork 8
Description
I am a little confused on the documentation.
Currently, I have:
` var config = {
client_id: 'xxxxxx.xxxx',
client_secret: 'zzzzzzzz',
redirect_uri: 'http://localhost:8010',
authParams : {
client_id: 'xxxxxxxx.xxxx',
scope: 'channels:write',
redirect_uri: 'http://localhost:8010',
team: 'teamname',
}
}
slackSvc.authorize(config.client_id, config.authParams, function (response) {
console.log(resposne)
});
slackSvc.oauth.access(config.client_id, config.client_secret, code, function (response) {
console.log(response)
if(response.ok){
//optional : preload you token for further requests
slackSvc.InitToken(response.access_token);
}
});
`
After doing this, it does prompt me with the Slack list of groups and the Authorize Button, but once I click that, I am brought to my callback uri for a brief second, then back to the Slack Auth page.
Any ideas?