> For AI agents: [llms.txt](https://docs.trustedauth.com/llms.txt) provides a Markdown index of this documentation.

# Atlassian

Atlassian Access offers enhanced security and centralized administration that works across Atlassian cloud products (see <https://www.atlassian.com/>). You can protect access to Atlassian by integrating Atlassian with Identity as a Service. Once integrated, users can use single sign-on to log in to their Atlassian account through Identity as a Service.

note

This integration was tested using Identity as a Service version 5.14 and Atlassian Cloud from Jan 11 to Jan 18, 2021. Other versions of Atlassian Cloud may require integration and configuration steps that differ from those documented in this procedure. For other versions of Atlassian Cloud, use this procedure as a starting point for integrating Atlassian Cloud. In the event of other issues, contact <support@entrust.com> for assistance.

## Prerequisites

Before you can apply SAML single sign-on to your Atlassian user accounts, you must do the following:

1. Create an organization (see [Explore an Atlassian Organization](https://confluence.atlassian.com/cloud/explore-an-atlassian-organization-938859734.html)).
2. Verify one or more domains to confirm you own them. See [Verify a domain for your organization](https://confluence.atlassian.com/cloud/verify-a-domain-for-your-organization-873871234.html). When you verify a domain, all the Atlassian accounts that use email addresses from the verified domain become _managed_ by your organization.
3. Subscribe to Atlassian Access. See [Subscribe to Atlassian Access](https://confluence.atlassian.com/cloud/atlassian-access-security-policies-and-features-938859736.html#AtlassianAccesssecuritypoliciesandfeatures-SubscribetoAtlassianAccess).
4. Ensure that you have an Atlassian Site set up (for example, an Atlassian site for Confluence). See [Set up your site and spaces](https://www.atlassian.com/software/confluence/guides/get-started/set-up).

To integrate Atlassian with Identity as a Service, you must do the following:

## Step 1: Copy the SAML Configuration from Identity as a Service

1. Log into your Identity as a Service administrator account.

2. Click Menu icon **>** **Security > Applications**. The **Applications** **Lists** page appears.

3. Under **SAML Cloud Integrations**, click **SAML Configuration**. The **SAML Configuration** dialog box appears.

   This dialog box contains information you need to configure your SAML application for Identity as a Service authentication.

4. Do one of the following:

   - Leave this dialog box open to reference later in this procedure.
   - Copy the Entity ID, Single Sign-on URL, and Single Logout URL to a text file and save it to reference later in this procedure.

note

Depending on the integration you are performing, you may not need all three of these SAML configuration values.

## Step 2: Export the signing certificate from Identity as a Service

1. Log in to your Identity as a Service administrator account.
2. Click Menu icon **>** **Security > Applications**. The **Applications List** page appears.
3. Under **SAML Cloud Integrations**, click **SAML Signing Certificates**. The **SAML** **Signing Certificates** page appears.
4. Click the download icon next to the certificate to export the certificate you want to import into your SAML service provider application. The **Export Certificate** dialog box appears.
5. If the certificate has been issued by a CA, do one of the following:
   - Click **Certificate** to export the self-signed certificate.
   - Click **Root CA Certificate** to export a certificate issued from a CA.
   - Click **Certificate Chain** to export the SAML signing certificate and its CA certificates.
6. Click **Export**.

## Step 3: Add Identity as a Service as an Identity Provider in Atlassian

note

Before you begin this step, ensure that you have completed the required Atlassian set up. See [Prerequisites](#prerequisites).

1. Ensure that you have completed the required prerequisites.
2. Log in to Atlassian as an administrator. The **Atlassian Home** page appears.
3. Click the settings icon and select **Cloud Administration** from the **Settings** menu. The **Managed Accounts** page appears.
4. Click **Security**. The **Organization insights** page appears.
5. In the menu pane, click **SAML single sign-on**. The **SAML Single sign-on** page appears.
6. Click **Add SAML configuration**. The **Add SAML configuration** dialog box appears.
7. In the **Identity provider Entity I**D field, enter the **Entity ID** you copied in _Step 1: Copy the SAML configurations from Identity as a Service_.
8. In the **Identity provider SSO URL** field, paste the **Single-Sign-On URL** you copied in _Step 1: Copy the SAML configurations from Identity as a Service_.
9. Open the certificate file you exported in _Step 2: Export the certificate file from Identity as a Service_.
10. Copy the contents of the certificate file and paste it in the **Public x509 certificate** text box.
11. Click **Save Configuration** to return to the **SAML single sign-on** page.
12. On the **Single sign-on** page, copy and save the following from the **Information required by your identity provider** into a text editor, such as Notepad. You need this information for _Step 4: Add Atlassian to Identity as a Service._
    - SP Entity ID
    - SP Assertion Consumer Service URL
13. **Enforce single sign-on** as follows:
    1. In the menu pane, click **Authentication policies**. The **Authentication policies** page appears.
    2. Click **Edit**. The **default** page appears.
    3. Click the **Settings** tab.
    4. Under **Single sign-on**, select **Enforce single sign-on**.
    5. Click **Update**.
    6. Click **Enforce** on the confirmation prompt to accept the change and return to the **Default** page.
    7. Click the **Members** tab. This page shows the list of Users forced to use single-sign on for your site.

## Step 4: Add Atlassian to Identity as a Service

1. Log into your Identity as a Service administrator account.

2. Click Menu icon **>** **Security > Applications**. The **Applications** **Lists** page appears.

3. Click **Add**. The **Select an Application Template** page appears.

4. Do one of the following:

   - Select **SAML Cloud Integrations** from the search drop-down list and scroll to find the application you want to add to IDaaS.
   - In the **Search bar**, enter a search option to filter for the application you want to add to IDaaS.

5. Click **Atlassian**. The **Add Atlassian** page appears.

6. Enter an **Application Name**.

7. Enter an **Application Description**.

8. Optional. Add a custom application logo.

   1. Click Plus icon next to **Application Logo**. The **Upload Logo** dialog box appears.
   2. Click Upload icon to select an image file to upload.
   3. Browse to select your file and click **Open**. The **Upload Logo** dialog box reappears showing your selected image.
   4. If required, resize your image.
   5. Click **OK**.

9. Select the **Authentication Flow** that appears to users during login.

10. Click **Next**. The **General** page appears.

11. In the **Default Assertion Consumer Service URL** field, enter the **SP Assertion Consumer Service URL** you copied in _Step 3: Add Identity as a Service to Atlassian_.

12. In the **Service Provider Entity ID** field, enter the **SP Entity ID** you copied in _Step 3: Add Identity as a Service to Atlassian_.

13. Optional. Enter the **SAML Username Parameter Name** used to identity the user ID being requested for authentication. The user ID can then be passed as a parameter, for example, Username=jdoe.

14. Enter the **SAML Session Timeout** to the time when the SAML Assertion times out. The maximum is 720 minutes.

15. Enter the **Max Authentication Age (seconds)** to set the maximum amount of time that can elapse before a user is required to reauthenticate during a new login attempt. This applies for both SP-initiated and IDP-initiated login. Set this field to -1 to disable this feature.

16. From the **SAML NameID Attribute** drop-down list, select **Email**.

17. From the **SAML NameID Encoding Format** drop-down list, select **Email**.

18. From the **SAML Signing Certificate** drop-down list, select the signing certificate.

19. From the **SAML Signature Algorithm** drop-down list select **SHA512**.

20. Select **Sign Complete URL Response**.

21. Optional: Select **Respond Immediately for Unsuccessful Responses** to return to the application immediately after a login failure, rather than allow user to try again with a different userID.

22. Deselect **Enable Go Back Button** if you do not want users to be able to go back to the Atlassian login page to log in.

23. Select **Show Default Assertion Consumer URL Service in the My Profile**. When selected, the Default Assertion Consumer URL appears in a user's My Profile page in addition to relay states and Alternative Assertion Consumer URLs.

24. Deselect **Encrypt SAML Assertion**.

25. Optional. Add **Alternative Assertion Consumer Service URLs**, as follows:

    1. Click **Add**.
    2. Enter a **Name**.
    3. Enter a URL **Value**.
    4. Select **Show in My Profile** to display the Alternative Consumer Service URL in a user's My profile page.
    5. Optional. **Add an Application Logo**.
    6. Click **Add**.
    7. Repeat these steps to add more Alternative Assertion Consumer Service URLs.

26. Add your Atlassian site as a **Relay State**, as follows:

    1. Under **Relay State** click **Add**. The **Add Relay State** dialog box appears.

    2. Enter a **Name** for the relay state.

       **Example:** <https://yoursite.atlassian.net>

    note
    Relay states appear on the user's My Profile page. If you do not want it to appear on the user's profile page, click the disable icon next to the relay state to disable it. If at any time you want to re-enable it, click the enable icon.

    Relay states apply to the Default Assertion Consumer Service URLs and not the Alternative Assertion Consumers URLs.

    3. Optional. Add a Relay State custom logo.

       1. Click Plus icon next to **Relay State Logo**. The **Upload Logo** dialog box appears.
       2. Click Upload icon to select an image file to upload.
       3. Browse to select your file and click **Open**. The **Upload Logo** dialog box reappears showing your selected image.
       4. If required, resize your image.
       5. Click **OK**.

    4. Click **Add**.

    5. Repeat these steps to add more Relay States.

27. Include the following user attributes in the SAML assertion, as follows:

    1. Add a **first name** SAML attribute:

       1. Under **SAML Attributes**, click **Add**. The **SAML Attributes** dialog box appears.

       2. In the **Name** field enter:

          > <http://schemas.xmlsoap.org/ws/2005/05/identity/claims/givenname>

       3. Click **Add** next to **Value(s)**.

       4. In the **Values** field type **<** and select **<First Name>**.

    2. Add a **last name** SAML attribute:

       1. Under **SAML Attributes**, click **Add**. The **SAML Attributes** dialog box appears.

       2. In the **Name** field enter:

          > <http://schemas.xmlsoap.org/ws/2005/05/identity/claims/surname>

       3. Click **Add** next to **Value(s)**.

       4. In the **Values** field type **<** and select ** <Last Name>**.

    3. Add a **unique user ID** SAML attribute:

       1. Under **SAML Attributes**, click **Add**. The **SAML Attributes** dialog box appears.

       2. In the **Name** field enter:

          > <http://schemas.xmlsoap.org/ws/2005/05/identity/claims/upn>

       3. Click **Add** next to **Value(s)**.

       4. In the **Values** field type **<** and select ** <Unique User ID>**.

28. Click **Submit**.

## Step 5: Add a resource rule

See [Create resource rules](/docs/authentication-and-security/create-and-manage-resource-rules.md).

## Step 6: Test the integration

### Testing Service Provider Login

1. Open a Web browser and enter the URL for your Atlassian account. You are directed to Identity as a Service.
2. Enter your Atlassian account **User ID** and click **Next**.
3. Respond to the second-factor authentication challenge. If you respond successfully, you are logged in to the Atlassian **Home** page.

### Testing Identity as a Service redirect log in

1. Log in to your Identity as a Service account.
2. Go to your **My Profile** page if you are not already there.
3. Under **Applications**, click **Atlassian**.
4. Respond to the second-factor authentication challenge. If you respond successfully, you are logged in to Atlassian.
