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?