ZITADELZZITADEL
Powered by
JayPeJ
ZITADEL•2y ago•
11 replies
JayPe

Unverify user email

In my mobile app , I initialize a user only with his email.
Then I ask him to verify his email => zitadel api call
Then to set up his phone number => zitadel api call
Then to verify his phone number => zitadel api call
Then to set his password => zitadel api call

But if the user stop his account creation before setting his password, I need to "clear" his zitadel account and just keep his email as unverified.
I try to use the update user endpoint, but there is nothing happening with it.
So I'm doing 3 calls
- Delete phone number (v2)
- Change user email (v2) with a fake email (with the code returned to avoid sending email)
- Change again user email (v2) with his email (without the code to make sure the user receive it)

The bug :
The thing is that by calling two times the change user email endpoint, I don't receive any email with the code.
If I wait 3-4 seconds between both change email user endpoint call I receive the email.
When both calls are done quickly one after the other, no email sent
ZITADEL banner
ZITADELJoin
ZITADEL - Identity infrastructure, simplified for you.
4,374Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Change user email
anhtuan159Aanhtuan159 / questions-help-bugs
9mo ago
Update User Email
2isprime22isprime / questions-help-bugs
2y ago
change existing user email
AwillSoftwaresAAwillSoftwares / questions-help-bugs
3mo ago