If you use Microsoft Entra ID as identity provider and IIS as a reverse proxy, then you may can't "Login with Microsoft", in case you have configured the IIS with our setup script.
This is because IIS rewrites the host part of all HTTP Location headers automatically. You need to disable this setting:
- Go to the IIS Server
- Click on Application Request Routing
- Click on Server Proxy Settings… (on the right side)
Disable 'Reverse rewrite host in response headers'
We'll try to automatically disable this setting with the setup script in future versions.