zitadel
zitadel copied to clipboard
[Bug]: Second factor SMS OTP can't be added on the org level
Preflight Checklist
- [X] I could not find a solution in the documentation, the existing issues or discussions
- [X] I have joined the ZITADEL chat
Environment
Self-hosted
Version
latest
Database
None
Database Version
Postgres latest
Describe the problem caused by this bug
SMS OTP is unusable on org level.
To reproduce
- Spin up a fresh environment from scratch
- add SMS OTP via console to the org policy
- Repeat, as it won't be listed
- Note the already exists error
Screenshots
No response
Expected behavior
No response
Operating System
No response
Relevant Configuration
No response
Additional Context
No response
@eliobischof as you already reproduced it, was it a frontend or backend issue?
@eliobischof as you already reproduced it, was it a frontend or backend issue?
Backend I think.
Sth is probably wrong with the login policy projection
It seems that the issue also happens trying to add a Multifactor SMTP OPT for an org
Maybe you can assign this to me @hifabienne
@doncicuto thanks for offering your help with this! I assigned you.
Hi @eliobischof and @hifabienne, I've tried to reproduce the issue again before working on the issue, but it seems that with the latest main code this is not happening anymore. Here's a video with a fresh backend compile and a new org:
https://github.com/zitadel/zitadel/assets/30386061/38ae7fb2-db4b-4409-adf1-1e1325f3afd1
If you can reproduce it again ping me :wink: I'm moving to another issue for now
Cheers!
Couldn't reproduce either. Will close the issue for now, if it reappears we can reopen. @doncicuto Thanks for looking into it.