I am building a scenario where I’d like to create ...
# talk-kratos
n
I am building a scenario where I’d like to create identities using the admin API so that we can also create corresponding user profile records on our own database, keyed by the Ory ID, and also provision initial permissions (using Keto API). What is the correct way to immediately initiate an email verification email, preferably using a one-time-code? The email is not automatically being generated when an identity is created using the admin API and I can only find documentation on how this works for self-service registration flows that are UI-based. (After initial registration, we can use self-service flows for everything else).
b
@nice-beach-55235 You are correct. Verification mail does not get automatically sent if you create an identity using the admin api. You need to create a recovery link and send that to the user by yourself. Thats what we are doing internally in our company 🙂
n
Thank you @bulky-architect-22083. We are doing something similar for another client so I’ll use that pattern. Thank you.