Hello,
Right now in my nextjs app I am using email/password auth from Atlas.
On registration I collect extra user data such as name and birthdate.
Now that I disabled automatic email verification, the user needs to be confirmed and the onUserCreation Atlas function doesn’t execute after submitting the register form and the custom data gets lost.
I have tried saving the data in local storage but if the user doesn’t immediately login and clear the browser, or logs in for the first time on a different device, the custom user data is also lost.
Are there any suggestions on how to make sure I can confirm the user in a reliable way, while at the same time having the custom user data?
Thanks