How to look-up if an e-mail is already taken by another user?

If i have a user with the following identities:

{
email: "primary@email.com",
identities: [
 ....,
 {
 profileData: {
    email: "secondary@email.com"
 }
 connection: "email"
 }
 ]
}

And i use the get users by email endpoint, I get a hit on primary@email.com, but no hit on secondary@email.com.

This is a bit problematic if I wan’t to determine if an e-mail is available for a new user? In other words, how do I determine if an email is actually available?

@konrad.sopala can you help find someone to help me out here?

Hey there!

Let me research that and get back to you as soon as I find something!

1 Like