TwentyT
Twenty16mo ago
11 replies
Neruu2

Regarding Microsoft oAuth

Hello there,

I'm self hosting Twenty using Coolify's template.
Everything works fine, but I'm trying to push it by implementing the Microsoft oAuth.

I've seen the .env vars required from https://twenty.com/developers/section/self-hosting/self-hosting-var#setup-environment-variables.
I've created my applicaiton on my Azure portal, but I have 2 questions:
1) where can I find the value of AUTH_MICROSOFT_CALLBACK_URL? I guess it should be something like <instance.domaine.tld>/api/auth/microsoft, but can't be sure and I don't seem to find any help on that (I think your search feature in the developper's docs is broken, any word won't work, even if its present on the current page like, in my case, "microsoft" got me nothing but the word is repeated multiple times on the current page)
2) Are we not supposed to pass a callback URL to the Azure's application as well (it's optional from Azure settings but all the oAuth I've done so far got one, sometimes simply the instance's URL)? Will it be the same?

Sorry if these questions are already posted/answered, I didn't manage to find any help regarding that matter.

PS: I'll be also very interested if someone managed to make the integration of any SMTP/IMAP (not only google's). I know it's on the roadmap for the team to make it easier to integrate, I'm just very interested 😇😅
Can't wait!

PS2: You did a really good job on that product! Congrats to all that participated!
image.png
Was this page helpful?