SAML AZURE SSO
Follow the sections in this guide to set up Azure SSO using SAML.Create OpenMetadata application
Step 1: Configure a new Application in Microsoft Entra ID
- Login to Azure Portal as an administrator and search for Microsoft Entra ID.

- Click on
Enterprise Applicationsand then+ New Application.

- After that a new window will appear with different applications, click on
Create your own application.

- Give your application a name and select
Integrate any other application you don't find in the galleryand then clickCreate.

- Once you have the application created, open the app from list , and then click on
Single Sign-Onand thenSAML.

- Edit
Basic SAML Configurationand populate the values shown below forEntityIdandAssertion Consumer Service Url. These values should match the ones configured on the OpenMetadata server forsamlConfiguration.sp.entityIdandsamlConfiguration.sp.acs, respectively. After that, clickSave.

- Click on
Attributes and Claimsand click on theRequired Claim (NameId).

- You will see the values as below image, we need to set the value
Source Attributeto a user mail value claim from the IDP. Click onEditand then select theSource Attributeasuser.mailoruser.userprincipalname(in some cases this is also a mail) and then clickSave.

- To confirm the claim value, navigate to the user page and verify the user’s value. In this example, the User Principal Name matches the email address used for OpenMetadata, so
user.userprincipalnameis the correct claim.

Step 2: Setup OpenMetadata Server
- Open the downloaded metadata xml file, and populate the following properties in
openmetadata.yml
- Populate the above config from xml metadata

-
IDP Config
entityID-> Populate it from Metadata XML Entity IDHTTP-Redirect SSO Login URL-> always select HTTP-Redirect Url for SSO Login UrlX509 Certificate-> This is also available in the IDP XML.NameIDFormat-> from MetadataXML NameIDFormatauthorityUrl-> set as /://:/api/v1/saml/login -
SP Config
entityId-> -> set as /://:/api/v1/saml/acsacs-> Assertion Consumer Url , set as /://:/api/v1/saml/acsspX509Certificate-> set to your X509 Signing Keycallback-> set as /:///api/v1/saml/callback
Step 3: Setup JWT Configuration
- Follow the guide here for JWT Configuration Enable JWT Token.
Step 4: Start the server
- Start the OpenMetadata server. With
AUTHENTICATION_PROVIDERset to saml, you should be routed to the IDP upon sign-in.
