Skip to content

Commit

Permalink
FIX: Mask Slack App User & Bot Tokens (#18814)
Browse files Browse the repository at this point in the history
* fix: mask slack user and bot token.

* refactor: Move the code in SlackApp
  • Loading branch information
Siddhanttimeline authored Nov 28, 2024
1 parent 8fcb8ec commit 3453c79
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1135,7 +1135,6 @@ private App getApplication(

// validate Bot if provided
validateAndAddBot(app, createAppRequest.getBot());

return app;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,14 @@
"userToken": {
"title": "User Token",
"description": "User Token",
"type": "string"
"type": "string",
"format": "password"
},
"botToken": {
"title": "Bot Token",
"description": "Bot Token",
"type": "string"
"type": "string",
"format": "password"
}
},
"additionalProperties": false,
Expand Down

0 comments on commit 3453c79

Please sign in to comment.