I could do with some help on implementation detail. I have an app where users of type “Manager” can register other users of type “Team member”.
From my client I am calling the Realm app register method (on a screen which can only be used by Managers to create their team members) but because I do not get back an id from the register method I am struggling to link the newly created team member with a custom data profile document.
Their email gets stuck in “pending” even though I have turned off “User Confirmation”. I turned off user confirmation because we trust the validity of the email in our process.
I don’t want them to have to log in to activate the account because some pre populated data by the Manager has to be filled into the profile document before the team member starts using the app.
What pattern can I use in this scenario? It’s really weird that user confirmation still traps emails in a pending state even if it’s turned off.
Functions don’t appear to have access to create users.