Skip to main content

Using the miniOrange plugin

This tutorial explains how to use miniOrange to connect casdoor and Jira.

This guide connects Jira to Casdoor via OIDC using the miniOrange plugin.

The following are some important names in the configuration:

CASDOOR_HOSTNAME: The domain name or IP where the Casdoor server is deployed.

Jira_HOSTNAME: The domain name or IP where Jira is deployed.

Step 1: Deploy Casdoor and Jira

Deploy Casdoor and Jira.

After successful deployment, make sure:

  1. Set Jira URL (Plans -> Administration -> System -> General Configuration) to Jira_HOSTNAME. Jira URL
  2. Casdoor can be logged in and used normally.
  3. For local prod mode, set CASDOOR_HOSTNAME to http://localhost:8000. See production mode.

Step 2: Configure Casdoor Application and Jira

  1. Create a new Casdoor application or use an existing one.
  2. Install the miniOrange OIDC app (Plans → Administration → Find new apps → search). Jira App
  3. Set Selected Application to Custom OpenId.
  4. Find the redirect URL: Jira Callback
  5. Add the redirect URL: Jira Application
  6. Configure the app as follows: Jira Config
    • Token server URL: http://CASDOOR_HOSTNAME/api/login/oauth/access_token
    • Authorization server URL: http://CASDOOR_HOSTNAME/login/oauth/authorize
    • UserInfo server URL: http://CASDOOR_HOSTNAME/api/get-account
    • Scopes: address phone openid profile offline_access email

OIDC discovery: http://<CASDOOR_HOSTNAME>/.well-known/openid-configuration.

Log out of Jira and test SSO. Jira Login