Skip to main content


Step 1: Config Slack App

First, you need to create an app on Slack API. Give your bot/app the following OAuth permission scopes: chat:write, chat:write.public


Step 2: Get Bot User OAuth Access Token and Channel ID

Copy your Bot User OAuth Access Token for usage below.


Copy the Channel ID of the channel you want to post a message to. You can grab the Channel ID by right clicking a channel and selecting copy name


Step 3: Configure Casdoor Slack Provider

There are three required fields: App Key, Content, and Chat ID. The relationship between the fields and Slack is as follows:

NameName in Slack
Secret keyAccess Token
Chat IDChannel ID