---
title: Creating an OpenID client with Microsoft Azure AD
description: You will learn how to create an OpenID client with Microsoft Azure AD to integrate your SSO in the Portal.
---

[Skip to content](https://content.xmco.fr/en/base-de-connaissances/creating-an-openid-client-with-microsoft-azure-ad#main-content)

- [English](https://content.xmco.fr/en/base-de-connaissances/creating-an-openid-client-with-microsoft-azure-ad)
- [Français](https://content.xmco.fr/fr/base-de-connaissances/creation-client-openid-microsoft-azure-adv)

English

Show submenu for translations

![](https://content.xmco.fr/hubfs/xmco.svg)

- [View your tickets](https://content.xmco.fr/tickets-view)
- [Log out](https://content.xmco.fr/_hcms/mem/logout)

Open main navigation

Close main navigation

- [View your tickets](https://content.xmco.fr/tickets-view)
- [Log out](https://content.xmco.fr/_hcms/mem/logout)
- - [English](https://content.xmco.fr/en/base-de-connaissances/creating-an-openid-client-with-microsoft-azure-ad)
    - [Français](https://content.xmco.fr/fr/base-de-connaissances/creation-client-openid-microsoft-azure-adv)

  English
  
  Show submenu for translations
- [Contact support](https://content.xmco.fr/en/support)

[Contact support](https://content.xmco.fr/en/support?hsLang=en)

 How can we help you?

- There are no suggestions because the search field is empty.

1. [Base de connaissances](https://content.xmco.fr/en/base-de-connaissances?hsLang=en)
2. [Set up your account and company](https://content.xmco.fr/en/base-de-connaissances/set-up-your-account-and-company?hsLang=en)
3. [Integrate your SSO](https://content.xmco.fr/en/base-de-connaissances/set-up-your-account-and-company?hsLang=en#integrate-your-sso)

# Creating an OpenID client with Microsoft Azure AD

**SUMMARY**

<https://content.xmco.fr/fr/base-de-connaissances/creating-an-openid-client-with-microsoft-azure-ad?hsLang=en#[Titre-de-section]>

- Step 1 : Access the creation menu for OpenID client<https://content.xmco.fr/fr/base-de-connaissances/creating-an-openid-client-with-microsoft-azure-ad?hsLang=en#Step-2-%3A-Configure-the-basic-parameters>
- Step 2 : Configure the basic parameters<https://content.xmco.fr/fr/base-de-connaissances/creating-an-openid-client-with-microsoft-azure-ad?hsLang=en#Step-2-%3A-Configure-the-basic-parameters><https://content.xmco.fr/fr/base-de-connaissances/creating-an-openid-client-with-microsoft-azure-ad?hsLang=en#Step-3-%3A-Retrieve-the-client-ID-and-the-metadata-URL-from-the-server>
- Step 3 : Retrieve the client ID and the metadata URL from the server
- Step 4 : Configure the disconnect
- Step 5 : Create the client secret

### Implementation

### **Step 1 :** Access the creation menu for OpenID client

- In the *Azure AD* administration panel, select the **App registrations** menu
- Click on **New registration**

![](https://content.xmco.fr/hs-fs/hubfs/Knowledge%20Base%20Import/XIWFsqrSlHaLV4TPgC0V7x58PBZkxBOyyg.png?width=670&height=591&name=XIWFsqrSlHaLV4TPgC0V7x58PBZkxBOyyg.png)

### **Step 2 :** Configure the basic parameters

- Fill in a name for the OpenID client, for example : **XMCO - Le Portail**
- Fill in the allowed redirect URI 
    - Choose **Web** type
    - Enter the following URI : **[https://leportail.xmco.fr/api/account/oicd/callback](https://leportail.xmco.fr/api/account/oicd/callback)**
- Click on *Register*

![](https://content.xmco.fr/hs-fs/hubfs/Knowledge%20Base%20Import/r_UUldXrffHc8-3iQnHobzaF7NBaoAAMjA.png?width=670&height=489&name=r_UUldXrffHc8-3iQnHobzaF7NBaoAAMjA.png)

### **Step 3 :** Retrieve the client ID and the metadata URL from the server

- Note the Client ID that is referenced *Application (client) ID*
- Click the *Endpoints* button and note the URL for **OpenID Connect metadata document**. **These informations will need to be provided to our teams.**

![](https://content.xmco.fr/hs-fs/hubfs/Knowledge%20Base%20Import/f9wopjX-C6s6ohemRLgM1sjglU3FYTWPyg.png?width=670&height=254&name=f9wopjX-C6s6ohemRLgM1sjglU3FYTWPyg.png)

### **Step 4 :** Configure the disconnect

- Click on the following link next to *Redirect URIs*

![](https://content.xmco.fr/hs-fs/hubfs/Knowledge%20Base%20Import/kXvWZjQsGmf9zuWKg0AuvcjNPnnMd7DyVA.png?width=670&height=184&name=kXvWZjQsGmf9zuWKg0AuvcjNPnnMd7DyVA.png)

- Configure the front-channel logout URL : **[https://leportail.xmco.fr/api/account/oicd/logged\_out](https://leportail.xmco.fr/api/account/oicd/logged_out)**
- Save the configuration

![](https://content.xmco.fr/hs-fs/hubfs/Knowledge%20Base%20Import/U75Ot7r9pZre0v9fqyHuCzg4QaknaqO7AQ.png?width=670&height=262&name=U75Ot7r9pZre0v9fqyHuCzg4QaknaqO7AQ.png)

> This URL will be used during the user logout process.

### **Step 5 :** Create the client secret

- In the Microsoft menu, navigate to *Certificates & secrets*
- Click on *New client secret*

![](https://content.xmco.fr/hs-fs/hubfs/Knowledge%20Base%20Import/hVH1wz7MY3V2OdKq4Fug8tUNGzeWGoQjCg.png?width=670&height=349&name=hVH1wz7MY3V2OdKq4Fug8tUNGzeWGoQjCg.png)

- *(Optionnal)* Add an ***description***
- Choose an **expiration date** that matches your company's policy
- Click on *Add*

![](https://content.xmco.fr/hs-fs/hubfs/Knowledge%20Base%20Import/A8RBkQlby9tUCtZMF8MjdBBo1kKyjh7SZA.png?width=670&height=154&name=A8RBkQlby9tUCtZMF8MjdBBo1kKyjh7SZA.png)

- Note the customer secret corresponding to the ***Value*** column (not Secret ID). **This value has to be provided to our teams.**

![](https://content.xmco.fr/hs-fs/hubfs/Knowledge%20Base%20Import/GZJobYtjAkX-rmH8gB0Bs5W3N0DOyzzvAg.png?width=670&height=126&name=GZJobYtjAkX-rmH8gB0Bs5W3N0DOyzzvAg.png)

> **Warning:** When the secret expires, the authentication in the XMCO Portal will no longer be functional. It will be necessary to communicate us a new secret.

 

- [Set up your account and company](https://content.xmco.fr/en/base-de-connaissances/set-up-your-account-and-company?hsLang=en#main-content)

    - [Log in](https://content.xmco.fr/en/base-de-connaissances/set-up-your-account-and-company?hsLang=en#log-in)
    - [Integrate your SSO](https://content.xmco.fr/en/base-de-connaissances/set-up-your-account-and-company?hsLang=en#integrate-your-sso)
    - [Manage your account](https://content.xmco.fr/en/base-de-connaissances/set-up-your-account-and-company?hsLang=en#manage-your-account)
    - [Manage your company](https://content.xmco.fr/en/base-de-connaissances/set-up-your-account-and-company?hsLang=en#manage-your-company)
- [Discover the Serenety module](https://content.xmco.fr/en/base-de-connaissances/discover-the-serenety-module?hsLang=en#main-content)

    - [Documentation Serenety](https://content.xmco.fr/en/base-de-connaissances/discover-the-serenety-module?hsLang=en#documentation-serenety)
    - [Set up Serenety in just a few clicks](https://content.xmco.fr/en/base-de-connaissances/discover-the-serenety-module?hsLang=en#set-up-serenety-in-just-a-few-clicks)
    - [Serenety key features](https://content.xmco.fr/en/base-de-connaissances/discover-the-serenety-module?hsLang=en#serenety-key-features)
- [Discover Yuno](https://content.xmco.fr/en/base-de-connaissances/discover-yuno?hsLang=en#main-content)

    - [Set up Yuno in just a few clicks](https://content.xmco.fr/en/base-de-connaissances/discover-yuno?hsLang=en#set-up-yuno-in-just-a-few-clicks)
    - [Advanced settings](https://content.xmco.fr/en/base-de-connaissances/discover-yuno?hsLang=en#advanced-settings)
    - [Yuno's main pages](https://content.xmco.fr/en/base-de-connaissances/discover-yuno?hsLang=en#yunos-main-pages)
    - [FAQ](https://content.xmco.fr/en/base-de-connaissances/discover-yuno?hsLang=en#faq)
    - [Download the complete documentation](https://content.xmco.fr/en/base-de-connaissances/discover-yuno?hsLang=en#download-the-complete-documentation)
- [Use the API and connectors](https://content.xmco.fr/en/base-de-connaissances/use-the-api-and-connectors?hsLang=en#main-content)

    - [Understanding and using the Portal API](https://content.xmco.fr/en/base-de-connaissances/use-the-api-and-connectors?hsLang=en#understanding-and-using-the-portal-api)
    - [Connect to our Portal](https://content.xmco.fr/en/base-de-connaissances/use-the-api-and-connectors?hsLang=en#connect-to-our-portal)
- [Legal information](https://content.xmco.fr/en/base-de-connaissances/legal-information?hsLang=en)

[![](https://content.xmco.fr/hubfs/xmco.svg)](https://www.xmco.fr)

[mailto:support@xmco.fr](mailto:support@xmco.fr) <https://www.linkedin.com/company/xmco>

Copyright © 2026, XMCO