SSO for Externally Shared Confluence Links using Azure AD(Entra ID) as IDP


Make sharing Confluence Pages/Spaces easy and secure for external users. Just set up single sign-on (SSO) on your links. SSO ensures that only authorized users access shared content. Follow the simple instructions below to explore our setup guide for sharing SSO-enabled links with your external users.

Download And Installation




Pre-requisite



  • We will need the SP entity id and ACS URL from the plugin.
  • To get this information, go to Apps -> Share confluence with external users
  • Then click on SSO Configuration -> SP Configuration
  • SSO Configuration

Step 1: Setup Microsoft Entra ID (Previously known as Azure AD) as Identity Provider

       Single Sign On using AzureAD, AzureAD SSO Login Prerequisites Prerequisites:

        Copy these values from the Service Provider Info tab of the Plugin .

        • SP Entity ID
        • ACS URL

       Single Sign On into AzureAD, AzureAD SSO Login Instructions Instructions:

      Note: Enterprise app configuration is the recommended option for SAML . If you do not have Azure subscription or using free account please setup App Registration Configuration.

      To perform Single Logout using Microsoft Entra ID (Previously known as Azure AD), the Atlassian instance (E.g. Jira,Confluence) must be https enabled.

    • Log in to Microsoft Entra ID (Previously known as Azure AD) Portal
    • Select ⇒ and Azure Active Directory ⇒ Enterprise Applications.
    • Single Sign On(SSO)using Microsoft Entra ID (Previously known as Azure AD), SAML SSO enterprise application
    • Click on Create your own application. Then enter the name for your app, select the Integrate any other application you don't find in the gallery checkbox and click on Create button
    • Single Sign On(SSO)using Microsoft Entra ID (Previously known as Azure AD), Entra ID SAML SSO new application
    • Click on Set up Single sign-on.
    • Single Sign On(SSO)using Microsoft Entra ID (Previously known as Azure AD),Microsoft Entra ID (Previously known as Azure AD) SAML SSO - set up single sign on
    • The next screen presents the options for configuring single sign-on. Click on SAML.
    • Single Sign On(SSO)using Microsoft Entra ID (Previously known as Azure AD), Entra ID SAML SSO select saml
    • Edit the option 1 :Basic SAML Configuration to configure plugin endpoints.
    • Enter the SP Entity ID for Identifier and the ACS URL for Reply URL from Service Provider Info tab of the plugin.
    • Single Sign On(SSO)using Microsoft Entra ID (Previously known as Azure AD), Entra ID SAML configuration
    • Click on Save icon.
    • Single Sign On(SSO)using Microsoft Entra ID (Previously known as Azure AD), SSO save window
    • By default, the following Attributes will be sent in the SAML token. You can view or edit the claims sent in the SAML token to the application under the User Attributes & Claims tab.
    • You can add attribute using Add new claim
    •  Single Sign On(SSO)using Microsoft Entra ID (Previously known as Azure AD), user attributes claims
    • You can add group attribute claim using Add a group claim
    • Single Sign On(SSO)using Microsoft Entra ID (Previously known as Azure AD), add a group claim
    • Copy App Federation Metadata Url from setup tab.
    • Single Sign On(SSO)using Microsoft Entra ID (Previously known as Azure AD),federation metadata URL
    • Click on User and groups from the applications left-hand navigation menu. The next screen presents the options for assigning the users/groups to the application.
    • Single Sign On(SSO)using Microsoft Entra ID (Previously known as Azure AD), user and groups
    • Log in to Microsoft Entra ID (Previously known as Azure AD) Portal
    • Select Azure Active Directory ⇒ App Registrations. Click on New Application Registration.
    •  Single Sign On(SSO)using Microsoft Entra ID (Previously known as Azure AD), New app
    • Assign a Name and choose the account type. In the Redirect URI field, provide the ACS URL provided in Service Provider Info tab of the plugin and click on Register button.
    • Single Sign On(SSO)using Microsoft Entra ID (Previously known as Azure AD), app registration
    • Now, navigate to Expose an API menu option and click the Set button and replace the APPLICATION ID URI with the plugin's SP Entity ID
    • Single Sign On(SSO)using Microsoft Entra ID (Previously known as Azure AD), expose an API
    • By default, some Attributes will be sent in the SAML token. If you're not getting group information. Then, add Token configuration for Group information.
    • Single Sign On(SSO)using Microsoft Entra ID (Previously known as Azure AD), token configuration
    • Click on Add groups claim
    • Single Sign On(SSO)using Microsoft Entra ID (Previously known as Azure AD), Add groups claim
    • Copy the Federation Metadata URL given below. Replace the '{tenant_ID}' part with your Directory/Tenant ID. This will be required while configuring the SAML plugin.
      Federation Metadata URL https://login.microsoftonline.com/{tenant_ID}/federationmetadata/2007-06/federationmetadata.xml

Step 2: Setup Confluence as Service provider

    A. By Metadata URL :

    • Click on Import from the Metadata tab.
    • Enter IDP name and metadata URL copied from IDP
    • Click Import
    Confluence Cloud Secure Share Import From Metadata

    B. Manual Configuration :

  • To configure the IDP manually, you will need to have the following details from your IDP's metadata.
    • IDP Entity ID
    • Single Sign On URL
    • X.509 Certificate
    Confluence Cloud Secure Share IDP Manual Configuration
  • Once you have added the IDP metadata, click on Save. If the IDP has been added successfully, Click on the Test Configuration button to test if the IDP was added successfully.
  • Confluence Cloud Secure Share Test Configuration
  • You will see all the values returned by your IDP to Confluence in a table. If you don't see value for First Name, Last Name and Email, make the required settings in your IDP to return this information.
  • Note : Setting up an email attribute is a must to access the Confluence Secure Share link.
  • If the test configuration is failed, please verify the IDP metadata details in the IDP Configuration tab.
  • If you are having trouble configuring the SSO, please contact us at support-atlassian@miniorange.atlassian.net or raise a support ticket here.

Step 3: Enable SSO for your Confluence Space

  • Using our plugin you can enforce SSO on the specific Confluence spaces. To enable the SSO for secure share links of a particular space, go to the space and then select Secure Share from the sidebar.
  • Confluence Cloud Secure Share Enforce SSO
  • Now you can create and share Confluence page/space links to external users with an extra security layer.
  • To learn more about creating and configuring a shared link please refer this page - Share Confluence with External Users

Step 4: Authorize link access based on Identity Provider groups (Optional)

  • Prerequisite: You must configure the group attribute in the SSO Configuration tab to use this feature.
  • Refer these steps to find the SSO Configuration tab.
  • Finding Group Attribute

    • Just like we found an email Attribute previously, we will find a group attribute.
    • Go to the IDP Configuration tab. Scroll down and click on Test Configuration.
    • You will see all the values returned by your IDP in a table. If you don't see value with groups, make the required settings in your IDP to return group names.
    • Once you see all the values in Test Configuration, keep the window open and go to the IDP Configuration tab again.
    • Enter the Attribute Name of a group against Group Name Attribute.

    To control the link access to specific groups:

    • Go to the link configuration of the existing link or create a new Confluence link.
    • Enter the names of the groups to which you would like to grant access.
    • Confluence Cloud Secure Share Authorize Links With Group
    • That’s it! Now only those users will be able to access the link who are members of the IDP-group1 and IDP-group2.



Free Trial

If you don't find what you are looking for, please contact us at support-atlassian@miniorange.atlassian.net or raise a support ticket here.