To start, make sure you have deployed Casdoor and Confluence successfully. Here are a few configuration names you need to remember:
CASDOOR_HOSTNAME: Domain name or IP where Casdoor server is deployed.
Confluence_HOSTNAME: Domain name or IP where Confluence is deployed.
Step 1: Deploy Casdoor and Confluence
After successful deployment, ensure the following:
- Set Confluence URL to
- Casdoor can be logged in and used normally.
- You can set
http://localhost:8000if you deploy Casdoor in
prodmode. Refer to the production mode for more details.
Step 2: Configure Casdoor application
- Create a new Casdoor application or use an existing one.
- Find a redirect URL:
- Add the redirect URL to the application:
- Add the desired provider and configure other settings accordingly.
On the application settings page, you will find two values:
Client ID and
Client Secret. We will need these in the next step.
Open your favorite browser and visit: http://
CASDOOR_HOSTNAME/.well-known/openid-configuration to see the OIDC configuration of Casdoor.
Step 3: Configure Confluence
- Install the miniOrange app to support OAuth. You can find this app in:
- Configure the app:
Selected Applicationto Custom OpenID.
- Retrieve the Client ID and Client Secret from the Casdoor application page.
Configure the following settings for Confluence:
Token server URL: http://
Authorization server URL: http://
UserInfo server URL: http://
address phone openid profile offline_access email
You can configure more advanced authorization settings later. For now, check if OpenID actually works.
Log out of Confluence and test SSO: