Skip to content

Commit 38ceffe

Browse files
committed
IIRR-30(auto): Skip user token check for Slack controllers
Added skip_before_action :check_user_token to Slack::ApplicationController to bypass user token verification for Slack requests. This ensures that Slack webhooks and interactions are not blocked by user authentication requirements. Ref: https://ombulabs.atlassian.net/browse/IIRR-30
1 parent 2cede1a commit 38ceffe

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

app/controllers/slack/application_controller.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
class Slack::ApplicationController < ApplicationController
22
skip_before_action :verify_authenticity_token
3+
skip_before_action :check_user_token
4+
35
before_action :valid_slack_request?
46

57
private

0 commit comments

Comments
 (0)