多维表格
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

74 lines
3.2 KiB

10 months ago
---
title: 'Azure AD (Entra)'
description: 'Learn how to configure Active Directory as an identity provider for NocoDB.'
10 months ago
tags: ['SSO', 'Active Directory', 'SAML']
keywords: ['SSO', 'Active Directory', 'SAML', 'Authentication', 'Identity Provider']
---
:::info
For SSO Access - please reach [**out to sales team**](https://calendly.com/nocodb).
:::
10 months ago
This article briefs about the steps to configure Active Directory as Identity service provider for NocoDB
10 months ago
### NocoDB, Retrieve `SAML SSO` Configuration details
10 months ago
1. Go to `Account Settings`
2. Select `Authentication (SSO)`
3. Click on `New Provider` button
4. On the Popup modal, Specify a `Display name` for the provider; note that, this name will be used to display the
provider on the login page
5. Retrieve `Redirect URL` & `Audience / Entity ID`; these information will be required to be configured later with the
Identity Provider
10 months ago
![SAML SSO Configuration](/img/v2/account-settings/SSO-1.png)
![SAML SSO Configuration](/img/v2/account-settings/SAML-2.png)
![SAML SSO Configuration](/img/v2/account-settings/SAML-3.png)
### Azure AD, Configure NocoDB as an Application
1. Sign in to your [Azure account](https://portal.azure.com/#allservices) and navigate
to `Microsoft Entra admin center` > `Identity` > `Enterprise applications`
2. Click `+ New application`
3. On the `Browse Microsoft Entra Gallery` page, select `Create your own application` from the navigation bar.
- Provide your application's name.
- Choose `Integrate any other application you don't find in the gallery (Non-gallery)`
- `Create`
4. On your application page, navigate to `Manage` > `Single sign-on` > `SAML`
5. Go to the `Basic SAML Configuration` section under `Set up Single Sign-On with SAML` and click `Edit`
- Add the `Audience URI` under `Identifier (Entity ID)`.
- Add the `Redirect URL` under `Replay URL (Assertion Consumer Service URL)`.
- Click `Save`
6. In the `Attributes & Claims` section, click `Edit`
- Edit the "Unique User Identifier (Name ID)" claim:
10 months ago
- Select `Email address` from the `Name identifier format` dropdown
- Choose `Attribute` as the `Source`
- In the `Source attribute`, select `user.mail`
- Click `Save`
<!-- [//]: # ( b. &#40;Optional&#41; For custom claims:)
[//]: # ( - Click Add new claim, provide details, and save.)
[//]: # ( - Ensure the claim is visible in the Additional claims section.)
[//]: # ( - Copy the claim name for later use in NocoDB SAML configurations.) -->
7. Go to the `SAML Certificates` section and copy the `App Federation Metadata URL`
8. on the Application's Overview page,
- Click `Users and groups`,
10 months ago
- Add the necessary users or groups to the application.
10 months ago
### NocoDB, Configure Azure AD as an Identity Provider
10 months ago
1. Go to `Account Settings` > `Authentication` > `SAML`
2. Insert `Metadata URL` retrieved in step above; alternatively you can configure XML directly as well
3. `Save`
![SAML SSO Configuration](/img/v2/account-settings/SAML-4.png)
10 months ago
For Sign-in's, user should be able to now see `Sign in with <SSO>` option.
10 months ago
![SAML SSO Configuration](/img/v2/account-settings/SSO-SignIn.png)
10 months ago
:::note
Post sign-out, refresh page (for the first time) if you do not see `Sign in with <SSO>` option
:::