|
| 1 | +--- |
| 2 | +title: Azure Active Directory SSO integration with Couchbase Capella - SSO |
| 3 | +description: Learn how to configure single sign-on between Azure Active Directory and Couchbase Capella - SSO. |
| 4 | +services: active-directory |
| 5 | +author: jeevansd |
| 6 | +manager: CelesteDG |
| 7 | +ms.reviewer: CelesteDG |
| 8 | +ms.service: active-directory |
| 9 | +ms.subservice: saas-app-tutorial |
| 10 | +ms.workload: identity |
| 11 | +ms.topic: how-to |
| 12 | +ms.date: 07/11/2023 |
| 13 | +ms.author: jeedes |
| 14 | + |
| 15 | +--- |
| 16 | + |
| 17 | +# Azure Active Directory SSO integration with Couchbase Capella - SSO |
| 18 | + |
| 19 | +In this article, you'll learn how to integrate Couchbase Capella - SSO with Azure Active Directory (Azure AD). The purpose of this app is to integrate Couchbase's Capella cloud database platform with Azure SSO. It’s the easiest and fastest way to begin with Couchbase. When you integrate Couchbase Capella - SSO with Azure AD, you can: |
| 20 | + |
| 21 | +* Control in Azure AD who has access to Couchbase Capella - SSO. |
| 22 | +* Enable your users to be automatically signed-in to Couchbase Capella - SSO with their Azure AD accounts. |
| 23 | +* Manage your accounts in one central location - the Azure portal. |
| 24 | + |
| 25 | +You'll configure and test Azure AD single sign-on for Couchbase Capella - SSO in a test environment. Couchbase Capella - SSO supports **SP** initiated single sign-on and **Just In Time** user provisioning. |
| 26 | + |
| 27 | +## Prerequisites |
| 28 | + |
| 29 | +To integrate Azure Active Directory with Couchbase Capella - SSO, you need: |
| 30 | + |
| 31 | +* An Azure AD user account. If you don't already have one, you can [Create an account for free](https://azure.microsoft.com/free/?WT.mc_id=A261C142F). |
| 32 | +* One of the following roles: Global Administrator, Cloud Application Administrator, Application Administrator, or owner of the service principal. |
| 33 | +* An Azure AD subscription. If you don't have a subscription, you can get a [free account](https://azure.microsoft.com/free/). |
| 34 | +* Couchbase Capella - SSO single sign-on (SSO) enabled subscription. |
| 35 | + |
| 36 | +## Add application and assign a test user |
| 37 | + |
| 38 | +Before you begin the process of configuring single sign-on, you need to add the Couchbase Capella - SSO application from the Azure AD gallery. You need a test user account to assign to the application and test the single sign-on configuration. |
| 39 | + |
| 40 | +### Add Couchbase Capella - SSO from the Azure AD gallery |
| 41 | + |
| 42 | +Add Couchbase Capella - SSO from the Azure AD application gallery to configure single sign-on with Couchbase Capella - SSO. For more information on how to add application from the gallery, see the [Quickstart: Add application from the gallery](../manage-apps/add-application-portal.md). |
| 43 | + |
| 44 | +### Create and assign Azure AD test user |
| 45 | + |
| 46 | +Follow the guidelines in the [create and assign a user account](../manage-apps/add-application-portal-assign-users.md) article to create a test user account in the Azure portal called B.Simon. |
| 47 | + |
| 48 | +Alternatively, you can also use the [Enterprise App Configuration Wizard](https://portal.office.com/AdminPortal/home?Q=Docs#/azureadappintegration). In this wizard, you can add an application to your tenant, add users/groups to the app, and assign roles. The wizard also provides a link to the single sign-on configuration pane in the Azure portal. [Learn more about Microsoft 365 wizards.](/microsoft-365/admin/misc/azure-ad-setup-guides). |
| 49 | + |
| 50 | +## Configure Azure AD SSO |
| 51 | + |
| 52 | +Complete the following steps to enable Azure AD single sign-on in the Azure portal. |
| 53 | + |
| 54 | +1. In the Azure portal, on the **Couchbase Capella - SSO** application integration page, find the **Manage** section and select **single sign-on**. |
| 55 | +1. On the **Select a single sign-on method** page, select **SAML**. |
| 56 | +1. On the **Set up single sign-on with SAML** page, select the pencil icon for **Basic SAML Configuration** to edit the settings. |
| 57 | + |
| 58 | +  |
| 59 | + |
| 60 | +1. On the **Basic SAML Configuration** section, perform the following steps: |
| 61 | + |
| 62 | + a. In the **Identifier** textbox, type a value using the following pattern: |
| 63 | + `urn:auth0:couchbase-capella:<Connection_UUID>` |
| 64 | + |
| 65 | + b. In the **Reply URL** textbox, type one of the following URL/pattern: |
| 66 | + |
| 67 | + | **Reply URL** | |
| 68 | + |------------| |
| 69 | + | `https://couchbase-capella.us.auth0.com/login/callback` | |
| 70 | + |` https://couchbase-capella.us.auth0.com/login/callback?connection=<Connection_UUID>` | |
| 71 | + |
| 72 | + c. In the **Sign on URL** textbox, type the URL: |
| 73 | + `https://cloud.couchbase.com/enterprise-sso` |
| 74 | + |
| 75 | + > [!NOTE] |
| 76 | + > These values are not real. Update these values with the actual Identifier and Reply URL. Contact [Couchbase Capella - SSO support team](mailto:[email protected]) to get these values. You can also refer to the patterns shown in the **Basic SAML Configuration** section in the Azure portal. |
| 77 | + |
| 78 | +1. Couchbase Capella - SSO application expects the SAML assertions in a specific format, which requires you to add custom attribute mappings to your SAML token attributes configuration. The following screenshot shows the list of default attributes. |
| 79 | + |
| 80 | +  |
| 81 | + |
| 82 | +1. In addition to above, Couchbase Capella - SSO application expects few more attributes to be passed back in SAML response, which are shown below. These attributes are also pre populated but you can review them as per your requirements. |
| 83 | + |
| 84 | + | Name | Source Attribute| |
| 85 | + | ---------------| --------- | |
| 86 | + | email | user.mail | |
| 87 | + | family_name | user.surname | |
| 88 | + |
| 89 | +1. On the **Set-up single sign-on with SAML** page, in the **SAML Signing Certificate** section, find **Certificate (Raw)** and select **Download** to download the certificate and save it on your computer. |
| 90 | + |
| 91 | +  |
| 92 | + |
| 93 | +1. On the **Set up Couchbase Capella - SSO** section, copy the appropriate URL(s) based on your requirement. |
| 94 | + |
| 95 | +  |
| 96 | + |
| 97 | +## Configure Couchbase Capella - SSO |
| 98 | + |
| 99 | +To configure single sign-on on **Couchbase Capella - SSO ** side, you need to send the downloaded **Certificate (Raw) ** and appropriate copied URLs from Azure portal to [Couchbase Capella - SSO support team ](mailto:[email protected]). They set this setting to have the SAML SSO connection set properly on both sides |
| 100 | + |
| 101 | +### Create Couchbase Capella - SSO test user |
| 102 | + |
| 103 | +In this section, a user called B.Simon is created in Couchbase Capella - SSO. Couchbase Capella - SSO supports just-in-time user provisioning, which is enabled by default. There's no action item for you in this section. If a user doesn't already exist in Couchbase Capella - SSO, a new one is commonly created after authentication. |
| 104 | + |
| 105 | +## Test SSO |
| 106 | + |
| 107 | +In this section, you test your Azure AD single sign-on configuration with following options. |
| 108 | + |
| 109 | +* Click on **Test this application** in Azure portal. This will redirect to Couchbase Capella - SSO Sign-on URL where you can initiate the login flow. |
| 110 | + |
| 111 | +* Go to Couchbase Capella - SSO Sign-on URL directly and initiate the login flow from there. |
| 112 | + |
| 113 | +* You can use Microsoft My Apps. When you click the Couchbase Capella - SSO tile in the My Apps, this will redirect to Couchbase Capella - SSO Sign-on URL. For more information about the My Apps, see [Introduction to the My Apps](../user-help/my-apps-portal-end-user-access.md). |
| 114 | + |
| 115 | +## Additional resources |
| 116 | + |
| 117 | +* [What is single sign-on with Azure Active Directory?](../manage-apps/what-is-single-sign-on.md) |
| 118 | +* [Plan a single sign-on deployment](../manage-apps/plan-sso-deployment.md). |
| 119 | + |
| 120 | +## Next steps |
| 121 | + |
| 122 | +Once you configure Couchbase Capella - SSO you can enforce session control, which protects exfiltration and infiltration of your organization’s sensitive data in real time. Session control extends from Conditional Access. [Learn how to enforce session control with Microsoft Cloud App Security](/cloud-app-security/proxy-deployment-aad). |
0 commit comments