OAuth/OpenID Single Sign On (SSO) into Jira using ADFS
Jira OAuth/OpenID app gives the ability to enable OAuth/OpenID Single Sign On for Jira Software and Jira Service Desk. Jira Software and Jira Service Desk are compatible with all OAuth/OpenID Providers. Here we will go through a guide to configure SSO between Jira and your OAuth/OpenID Provider. By the end of this guide, users from your OAuth/OpenID Provider should be able to login and register to Jira Software and Service Desk.
Video Setup Guide
Pre-requisites
Before proceeding with the integration of your OAuth/OpenID Provider and Jira, ensure that the following prerequisites are met:
- Ensure that Jira has been installed and configured appropriately.
- Enable HTTPS on the Jira Server (optional, but recommended).
- Establish admin credentials for Jira.
- Obtain a valid Jira Server and Data Center License.
Download and Installation
Now, let’s look at how you can download and install the miniOrange Jira OAuth/OpenID Connect Single Sign On (SSO) plugin for your Jira Data Center.
- Log into your Jira instance as an admin.
- Navigate to the Settings Menu and click on Manage Apps.
- Next, click on Find new apps option on the left-hand menu of the page.
- Here, locate miniOrange Jira OAuth/OpenID Connect Single Sign On (SSO) plugin on Atlassian marketplace via search.
- Click on Try it free to begin a new trial of the plugin with a temporary license.
- When redirected to MyAtlassian, enter your information and click Generate license.
- Next, click Apply license.
Step 1: Set Up ADFS as OAuth Provider
- Navigate to the plugin configuration page, click the "Add New Provider" button (located either in the middle or top-right corner), select ADFS as the application, and copy the callback URL from the plugin and keep it handy, as you'll need it to configure ADFS as the OAuth provider.
- To perform SSO with ADFS as Provider, your application must be https enabled.
- Navigate to Server Manager Dashboard->Tools->ADFS Management.
- Navigate to ADFS->Application Groups. Right click on Application Groups & click on Add Application group then enter Application Name. Select Server Application & click on next.
- Copy Client Identifier. This is your Client ID. Add Callback URL in Redirect URL. You can get this callback URL from plugin. Click on next.
- Click on Generate shared secret. Copy the Secret value. This is your Client Secret. Click on Next.
- On the Summary screen, click Next. On the Complete screen, click Close.
- Now, right-click on the newly added Application Group and select Properties.
- Click on Add application from App Properties.
- Click on the Add application. Then select Web API and click Next.
- On the Configure Web API screen, enter the domain name address into the Identifier section. Click Add. Click Next.
- On the Choose Access Control Policy screen, select Permit everyone and click Next.
- On the Configure Application Permission, by default openid is selected as a scope & click on next.
- On the Summary screen, click Next. On the Complete screen, click Close.
- On the Sample Application Properties click OK.
Step 2: Set Up Jira as OAuth Client
- Go to Jira Manage Apps -> click Configure under OAuth/OpenID Connect (OIDC) for Jira SSO. Then click on Add New Provider button. Select your preferred IDP. If an IDP is not present, select custom IDP.
- Once done, enter Client Id, client secret & ADFS domain, and scope as openid.
- Finally, click on Test Configuration to verify the accuracy of the provided details.
- Additionally, you can provide the JWKS Endpoint URL or Public Key for signature validation. You can find this option under the Advanced Settings tab.
Additional Resources
Did this page help you?
Try it for free