Callback URL for Microsoft IDP
Hey,
when registering a Microsoft IDP the Zitadel Console shows me a callback url i should enter (see screenshot 1):
https://<BASE_URL>/ui/login/login/externalidp/callback
However apparently Microsoft claims the passed callback is formed like this (screenshot 2):
https://<BASE_URL>/idps/callback
Is this a known issue?

7 Replies
Hi @feliwir, I'm an AI assistant for ZITADEL. While a team member reviews this question, I'll see if I can find relevant sources for your question.
Answer
I wasn't able to find a direct answer, here are some relevant sources:
1. How to use a custom OAuth callback URL for the external IdP : This discussion confirms that ZITADEL uses hardcoded callback URLs like
/idps/callback for external IdP flows and these cannot be customized.
2. Apple IdP callback url : This GitHub issue specifically mentions that callback URL documentation needs updating based on similar IdP configuration issues.
Feel free to tag @Ask Inkeep with additional questions.
Got it. Tagging @Rajat for additional help.hey @feliwir thanks for your question, I will look into it and get back to ypu
hey @feliwir are you self hosted or is this from cloud?.
hey @feliwir I just looked into it and I think it was a known bug that has been .
basically, change the redirect URI -
From: https://your.fqdn.com/ui/login/login/externalidp/callback
To: https://your.fqdn.com/idps/callback
and it should work 🙂
thanks!
We are self hosted
I think this is because you are using beta UI v2 (the new default), which changes the callback URL.
to
https://your.fqdn.com/idps/callback?hello @feliwir! I see that the fix for this bug has been merged yesterday:
- https://github.com/zitadel/zitadel/pull/10583
Applying the change that Rajat mentions will fix your issue, thanks!
GitHub
fix(console): Add login v2 url to identity providers by conblem · ...
Which Problems Are Solved
When using login V2 the Callback URL for an Identity Provider is different. When following the guideance in the console and using Login V2 users will use the wrong callbac...
🎉 Looks like you just helped out another community member! Thanks for being so helpful <@1346540274674827395>! You're now one step closer to leveling up—keep up the amazing peer support! 🚀