Skip to content

Commit

Permalink
Quiet vale warnings and adjust wording
Browse files Browse the repository at this point in the history
  • Loading branch information
imchairmanm committed Dec 3, 2024
1 parent 5b12975 commit 472f169
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Slack offers **token rotation** that can be turned on for bot and user tokens. This will make the token expire every 12 hours. While this may be useful for testing, it will cause the n8n credential to fail after expiry. If you want to use your slack credentials in production, this feature needs to be turned **off**.
Slack offers **token rotation** that you can turn on for bot and user tokens. This makes every tokens expire after 12 hours. While this may be useful for testing, n8n credentials using tokens with this enabled will fail after expiry. If you want to use your Slack credentials in production, you need to turn this feature **off**.

To check if you have token rotation turned on for your slack app, please refer to the [Slack API Documentation | Token Rotation](https://api.slack.com/authentication/rotation){:target=_blank .external-link} for instructions.
To check if your Slack app has token rotation turned on, refer to the [Slack API Documentation | Token Rotation](https://api.slack.com/authentication/rotation){:target=_blank .external-link}.

/// note | If Token Rotation has been activated
Please note, token rotation may not be turned off again and you will have to create a new slack app instead.
/// note | If your app uses token rotation
Please note, if your Slack app uses token rotation, you can't turn it off again. You need to create a new Slack app with token rotation disabled instead.
///
4 changes: 2 additions & 2 deletions docs/integrations/builtin/credentials/slack.md
Original file line number Diff line number Diff line change
Expand Up @@ -127,8 +127,8 @@ Here's the list of scopes the OAuth credential requires, which are a good starti
| `users.profile:write` | Not available as a bot token scope |
| `users:read` | |

## Troubleshooting
## Common issues

### Token Expired
### Token expired

--8<-- "_snippets/integrations/builtin/credentials/slack/token-rotation.md"
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,6 @@ This temporarily disables your production workflow for testing. Your workflow wi
5. When you finish testing, edit the **Request URL** in your the [Slack Trigger configuration](/integrations/builtin/credentials/slack/#slack-trigger-configuration) to use the production webhook URL instead of the testing webhook URL.
6. Toggle the **Inactive** toggle to enable the workflow again. The production webhook URL should resume working.

### Token Expired
### Token expired

--8<-- "_snippets/integrations/builtin/credentials/slack/token-rotation.md"

0 comments on commit 472f169

Please sign in to comment.