slackapi / deno-slack-sdk

SDK for building Run on Slack apps using Deno
https://api.slack.com/automation
MIT License
166 stars 27 forks source link

Question : Slack Apps Event Triggers not invoking the ThirdParty externalAuthProvider OAuth when invoking the Workflow #193

Closed pranith12345 closed 1 year ago

pranith12345 commented 1 year ago

Hi I am currently working on creating a new Generation Slack App which uses a Third Party OAuth for the Workflow . I added the below in the function definition which will trigger the OAuth Workflow .

 accessTokenId: {
    credential_source: "END_USER"
  },

I created an Event Trigger and a Link Trigger . The link Trigger is invoking the OAuth Workflow when the command is triggered . But when the Event trigger is generated , the OAuth workflow is not getting triggered.

Will the Oauth Workflow be trigggered when the event is raised for slack app.

filmaj commented 1 year ago

Hey @pranith12345 !

At this time, only link triggers are supported for end-user auth, as this is the only trigger guaranteed to stem directly from an end-user interaction (not all event triggers come from an end-user).

Going to close this issue down, but if you have further questions, feel free to re-open or file another issue.