High-Level Steps to Dynamically Assign Mendix User Roles Based on Entra ID Group Membership (OIDC)
0
Hi all, I'm integrating my Mendix app with Microsoft Entra ID using OIDC, and I want to implement dynamic assignment of user roles based on the roles assigned to groups a user is a member of in Entra ID. Currently, users can sign in successfully, but they are always assigned the default user role in Mendix, regardless of their group membership in Entra ID. I tried adding a custom scope and requesting it in the OIDC client config, but I get a "resource not found" error. Could someone please provide a high-level overview of the steps to follow on both the Entra ID side and the Mendix side to achieve this? Thanks in advance, Lasya