gitlab-unfurly icon indicating copy to clipboard operation
gitlab-unfurly copied to clipboard

Question about Slack permissions

Open lawrence-c opened this issue 5 years ago • 1 comments

Hi,

I'm trying to deploy this however have a few questions regarding Slack permissions:

  1. In Step 6 of Create Slack App, it says to Add an OAuth scope, is this a Bot Token Scope or a User Token Scope?
  2. Do you need to be an Admin of the workspace to deploy the app?

On another note, I've tried testing sending links to myself, however it doesn't unfurl (doesn't show preview either), and there is no information in the Cloudwatch logs. Messaging the app directly in Slack does unfurl the link however.

I also had to update the runtime in serverless.yml to python3.8 to run serverless deploy okay.

Thanks!

lawrence-c avatar Sep 24 '20 16:09 lawrence-c

Had to also enable the option within Slack: Event Subscriptions -> Subscribe to events on behalf of users -> link_shared to get it working on other channels.

lawrence-c avatar Sep 25 '20 10:09 lawrence-c