I followed the instructions in this guide to create an app in Azure AD and used the Application (client) ID and Client Secret Value to enable Microsoft login. However, I am encountering an error stating that the redirect URL specified in the request does not match the redirect URL configured for the application.
Additionally, we have multiple clients, and I’m interested in understanding how we can handle accounts from other organizational directories (Any Azure AD directory - Multitenant).
Do you mean this ? https://login.microsoftonline.com/6e720e06-53af-47e4-8e9e-5d106ebc1fa6/oauth2/authorize?resource=https://graph.microsoft.com&client_id=453fe0ad-eb59-489a-a702-68f717584038&response_type=code&redirect_uri=https://cms.mappr.xyz/signin-microsoft&scope=....
I followed this guide. More specifically I registered app, with this settings
Name: Squidex-OAuth Supported account types: Accounts in this organizational directory only - Single tenant Redirect URl: Web - https://cms.mappr.xyz/signin-microsoft
Then I created Certificates & Secrets and added IDENTITY__MICROSOFTCLIENT, IDENTITY__MICROSOFTSECRET, IDENTITY__MICROSOFTTENANT to my yaml
Identity operation failed: InvalidUserName: Username 't.francois_vectuel.com#EXT#@tfrancoisvectuel.onmicrosoft.com' is invalid, can only contain letters or digits.
Just a heads up, we are currently using version squidex/squidex:7.13.0 because there are issues with the latest versions—specifically, nested fields do not function correctly when we try to copy from one app to another via API, which is a crucial part of our workflow. We had to revert to this older version, and I’m unsure about the best way to manage this situation.