TwentyT
Twenty11mo ago
21 replies
nickponcho

Microsoft SSO on Self Hosted Instance

Hi,
I'm running the latest release of Twenty and have added the ENV variables in the docker compose file.
AUTH_MICROSOFT_APIS_CALLBACK_URL: "https://crm.myexternaldnsdomain.com/auth/microsoft/redirect"
AUTH_MICROSOFT_CALLBACK_URL: "https://crm.myexternaldnsdomain.com/auth/microsoft-apis/get-access-token"
AUTH_MICROSOFT_CLIENT_ID: "XXXXX....."
AUTH_MICROSOFT_CLIENT_SECRET: "XXXXX......"
AUTH_MICROSOFT_ENABLED: "true"

I have added the API permissions as delegated for whats in the document.
Web Redirect URI's declared in the Registrated App in Microsoft Entra ID are the 2 above URL's.
The app is in Mulit-Tenancy Mode.

But the login fails. I'm using "Continue with Microsoft" but it just loops, no failure or error codes
image.png
image.png
Was this page helpful?