user password recovery return ok success 200 status for error in code verification
❌Unsolved🪲Bugs
when user try to recover a account, the api v2 return 200 for verification code error. Why return 200 ok status code for a error?
public async Task<string> CheckAccountRecoveryCode(string userId, string code, string newPassword) { var zitadelHttpClient = await facade.CreateZitadelHttpClient();
var patchAsJsonAsync = await zitadelHttpClient.PatchAsJsonAsync($"/v2/users/{userId}", new { human = new { password = new { password = new { password = newPassword }, verificationCode = code } } });
Continue the conversation
Join the Discord to ask follow-up questions and connect with the community
Z
ZITADEL
ZITADEL - Identity infrastructure, simplified for you.