Open
Description
As a workaound I supplied user_scope via authorization_params
const connectSession = await createConnectSession.mutateAsync({
integrationId: selectedIntegration.id,
});
new Nango({
connectSessionToken: connectSession.token,
})
.auth(
selectedIntegration.id,
selectedIntegration.provider.id === 'slack'
? {
authorization_params: {
user_scope: // <---- supplying user scopes like this works
'channels:history,channels:read,channels:write,channels:write.topic,chat:write',
},
user_scope: [ // <---- supplying user scopes like this does not works
'channels:history',
'channels:read',
'channels:write',
'channels:write.topic',
'chat:write',
],
}
: {},
)
.then((_result) => {
Metadata
Metadata
Assignees
Labels
No labels