AwillSoftwaresA
ZITADEL2w ago
10 replies
AwillSoftwares

asdaa

var createResp = await http.PostAsJsonAsync($"{zitadelApi}/v2/users/new", new
{
organizationId = "347448696423587845",
username = request.Email,
userId = id,
human = new
{
profile = new
{
givenName = request.Email,
familyName = request.Email,
// nickName = request.Email,
displayName = request.Email,
// preferredLanguage = "en",
gender = "MASCULINO"
},
email = new
{
email = request.Email,
sendCode = new
{
urlTemplate =
"https://example.com/email/verify?userID={{.UserID}}&code={{.Code}}&orgID={{.OrgID}}"
},
returnCode = new {}
},
password = new
{
password = request.Password
}
}
});


{"code":3, "message":"proto(line 1:505): error parsing "returnCode", oneof zitadel.user.v2.SetHumanEmail.verification is already set"}
Was this page helpful?