Don't send initialization email
Hello is it possible to disable the user initialization email? We have a case where we want to defer this as we will import a large number of users. Ideally once a user comes and enters their email to login they'll be prompted to first verify their email then reset their password. I have looked at the docs but I don't want to completely disable is_verified already? Any ideas. Cheers
4 Replies
hey @Guyzeroth thanks for your question. Here's what you can do.
No init email, ready to login -> set
isEmailVerified = true
, given that password/hash provided for the imported user that will let them login immediately.
Defer email & password -> set isEmailVerified = false
, have no password or passwordChangeRequired = true
that will Init the email sent on first login.
You can read about it hereAh amazing thanks!
Hi
we are using the V2 Endpoint
And I create the user with following payload
{"organization":{"orgId”:”XXXX”},”userId":"790cf6f7-660d-487b-b5d4-aab5651446d7","profile":{"givenName”:”Test”,”familyName”:”User”},”email":{"email”:”test.user@gmail.com","isVerified":false},"password":{"password”:”PASSWORD,”changeRequired":true}}
Howeve when we try to login via the managed login it just asks for a password
There is no request to ask for a verification?
(/v2/users/human)
Our use case is, an account manager asks them to try to login with the email provided -> Then they get a 'verify your email' which then links them to reset password
hey @Guyzeroth did it got solved?
I was on vacation so didnt check
pls omit the
password
block and set to "isVerified": false
and it should work
