✅ Trying to implement Microsoft Auth on self-hosted server, but getting page not found error
Hi! So my group is trying to implement microsoft authentication on a self hosted twenty instance, and we finally got through all the ID and api clearing, but now we're getting 404 page not found errors.
We've been trying a bunch of configurations for a few hours now, and I'm completely lost. This should point back to our server instance, correct? My self hosted instance is also behind a reverse-proxy using caddy/cloudflare.



5 Replies
@Guillaume could you take a look in free time?
@Farrit Not an expert yet myself, but I originally also had issues because I forgot to actually add the AUTH_MICROSOFT_APIS_CALLBACK_URL (in addition to AUTH_MICROSOFT_CALLBACK_URL) in my entra / Azure app. But from what you're saying, that's probably not it ...
I am sorry for the lqck of update! We figured it out on a late night teams session, it turns out we needed to have the url's directed at my personal domain (as that's what the CRM is currently pointed at) as opposed to our company's domain. I felt really stupid once I figured it out, but it is working now and fully functional!
Good for you that you managed to solve the problem on your own!
Glad to read that ! Sorry I did not answer earlier