Configure Azure Entra ID as IdP on Keycloak
Published on: 2025-06-14 21:10:04
17 Mar 2023 [Edit: 17 Mar 2025 ] ⏱ 5 mn
For a new project, I needed to use Keycloak as an Authentication Provider in a Spring Boot WebFlux application. Since the company I work for has a Microsoft Entra ID (formerly Azure Active Directory), the ideal solution was to connect Entra ID as an Identity Provider in Keycloak using OpenID Connect.
Despite the number of articles on the subject, it took me some time to find the correct configuration and discover certain tricks to finalize the setup. Here are the detailed steps.
Azure Configuration
Let’s start by logging into Azure.
The first tip is to switch your interface to English if it is not already done. Some authentication-related terms are poorly translated. For example, a tenant becomes a locataire in French, and claims become revendications . This can make the interface harder to understand.
Adding an application in the Azure interface
Click on Microsoft Entra ID Select App Registration Click New Registration
Give it a name, su
... Read full article.