v2/users/human - emailcode expiration
Hello
We use the v2/users/human API to create a new user (https://zitadel.com/docs/apis/resources/user_service_v2/user-service-add-human-user#request) :
This gives us the emailCode in the response (https://zitadel.com/docs/apis/resources/user_service_v2/user-service-add-human-user#responses), which we send to the user (by an external email provider) so that the on-boarding process for the user in our application can begin.
Question: How long is the emailCode valid and can I adjust the expiry date of the emailCode somehow?
Thanks and kind regards
ZITADEL Docs
Create/import a new user with the type human. The newly created user will get a verification email if either the email address is not marked as verified and you did not request the verification to be returned.
2 Replies
https://zitadel.com/docs/guides/manage/console/default-settings#secret-generator
You should find and change the code expiry under settings > secret generator
ZITADEL Docs
Default settings work as default or fallback settings for your organizational settings. Most of the time you only have to set default settings for the cases where you don't need specific behavior in the organizations themselves or you only have one organization.
thank you👍