For context, in our system, some users have 1 account that login via the classic email password for APP 1 which is resticted. We also have an APP 2 where very users has a different email password which is used to authenticate. Every users in APP 1 has an account in APP 2. When a user in APP 1 is created, we link both users, APP 1 being the primary account.
I’m trying to find a user account with the secondary (APP 2 ) account’s email and the api doesn’t match it… Is there another way to search for the secondary account ? The only possible way i can think of right now is to not link accounts and deal with dual user ids in our system which is not ideal, but possible…
I’m on nodejs with the node-auth0 package.