Reset password with code not working

Hello, for my user to change their password they call an endpoint on my api. the api gets a code and and builds the url to the code reset page.

for that i use the c# grpc looking like this:
var code = zitadelUserApi.PasswordReset(new Zitadel.User.V2.PasswordResetRequest()
{
ReturnCode = new Zitadel.User.V2.ReturnPasswordResetCode(),
UserId = identityUser.User.Id,
}).VerificationCode;

with the code i get here i build the url like this:
$"https://myzitadel.example.com/ui/login/password/init?&callback=mywebsite.com&code={code}&orgID={myorg}&userID={identityUser.User.Id}";

till here every think work but now when the user clicks the link and changes his password he get the notification that the password reset was successful but when he tries to login with the newly set password it is not a correct password. Is this a bug or am i doing something wrong? But surely the password is not changed, eventho the frontend says so.
Was this page helpful?