Jan
Jan2w ago

Account linking failed in invite flow with idp

Version: Zitadel Cloud 4.3.3 Login v2 Steps: 1. Setup OIDC provider 2. Create user and send invite 3. Click on link identity provider in invite screen 4. Login to idp (auth0) and redirect 5. Error is shown in Zitadel The emails in Zitadel and auth0 are different. Did I setup something wrong?
No description
No description
No description
8 Replies
Ask Inkeep
Ask Inkeep2w ago
Hi @Jan, 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. Let Users Login with Preferred Identity Provider : This explains the automatic linking options and account linking configurations that control when existing ZITADEL accounts can be linked with external IdP identities. 2. Add Generic OIDC Identity Provider : Documents the API for configuring OIDC providers with auto-linking options including AUTO_LINKING_OPTION_EMAIL which may be relevant to your email matching issue. Feel free to tag @Ask Inkeep with additional questions.
Jan
JanOP2w ago
I tested different variations in the ipd settings. Seems to be related to: https://github.com/zitadel/zitadel/issues/10589
GitHub
[Bug]: Generic OAuth IdP registration fails because IdP intent does...
Preflight Checklist I could not find a solution in the documentation, the existing issues or discussions I have joined the ZITADEL chat Environment Self-hosted Version v4.0.2 Database PostgreSQL Da...
No description
Ask Inkeep
Ask Inkeep2w ago
Got it. Tagging @Rajat for additional help.
Jan
JanOP2w ago
Also fails with microsoft idp. The insecure Microsoft login + autolinking works. Invite flow with microsoft ipd fails too with: AddIDPLinkRequest.UserId: value length must be between 1 and 200 runes, inclusive
Rajat
Rajat7d ago
hey @Jan I will take a look at it, thanks for reporting.
Jan
JanOP7d ago
You're welcome, I also opened an issue https://github.com/zitadel/zitadel/issues/10902
GitHub
[Bug]: Invite flow fails with generic oidc or microsoft provider ·...
Preflight Checklist I could not find a solution in the documentation, the existing issues or discussions I have joined the ZITADEL chat Environment ZITADEL Cloud Version 4.3.3 Database None Databas...
Rajat
Rajat7d ago
thanks a lot Jan, this is the best way to get it addressed super quickly!.
Gigi the Giraffe (Zitadel)
🎉 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! 🚀

Did you find this page helpful?