you can refer this document
Add Azure AD SSO to your Mendix App | by Stella Davies | Mendix Community | Oct, 2021 | Medium | Mendix Community
This does not work locally. You must deploy your app for this.