We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aedaea4 commit df729b6Copy full SHA for df729b6
apps/handlers/slack_app.py
@@ -162,6 +162,10 @@ def _is_app_accessible(self):
162
if self.request.data.get('type') == 'event_callback' and (self.request.data.get('api_app_id') != self.slack_config.get('app_id') or self.request.data.get('event').get('type') != 'app_mention'):
163
raise Exception('Invalid Slack request')
164
165
+ # URL verification is allowed without any further checks
166
+ if self.request.data.get('type') == 'url_verification':
167
+ return True
168
+
169
return super()._is_app_accessible()
170
171
def run_app(self):
0 commit comments