https://supertokens.com/ logo
Title
e

execreate

10/19/2022, 1:40 PM
Hey guys, Does Emailverification recipe maintain its own set of users? I mean, can I use it independently from other recipes?
n

nkshah2

10/19/2022, 1:41 PM
Email verification doesn’t really add or maintain users but to answer your question users are shared across all recipes as long as you’re using a single SuperTokens core instance
Different core instances have their own users
e

execreate

10/19/2022, 1:42 PM
ah okay
n

nkshah2

10/19/2022, 1:42 PM
If you use the managed service then users in development are different from users in production
e

execreate

10/19/2022, 1:43 PM
But if I use EmailPassword recipe and Passwordless recipe in the same core, those recipes have distinct set of users, right?
n

nkshah2

10/19/2022, 1:43 PM
Distinct in respect to the recipe they were created with yes, but let’s say you use the user pagination feature you would get users from both recipes in the response
e

execreate

10/19/2022, 1:44 PM
Okay, got it 🙂
n

nkshah2

10/19/2022, 1:44 PM
On the other hand if you do something like Passwordless.doesEmailExist then those would be independent of email password users
e

execreate

10/19/2022, 1:44 PM
Yeah, that is what I wanted to know
Thank you:)
n

nkshah2

10/19/2022, 1:45 PM
Happy to help
r

rp

10/19/2022, 1:51 PM
And yes, you can pass a random user Id to emailverification recipe and it would work with it.
e

execreate

10/19/2022, 1:56 PM
@rp cool! thanks for the info 🙂