Hi Bubblers, I would like some advice or insights from you on this one. So this is the signup page of my app for user:
After the email signup, they will be redirected to my multi-step onboarding process (on a seperate page) where they will go through some questions and fill in some information. Each input will be stored temporarily into a custum state:
At the end of the onboarding step there’s a button like this to push all the date to database:
It all seems to work on the page and in the debugger, but I don’t see the information being added to the database:

Any idea what I might be doing wrong?
*update: I tried to enter the onboarding process from the database. I clicked “running as the newly signed up user,” and the data was successfully stored this time. So, the break is happening between the signup page and the onboarding page I guess. How to make the onboarding page recognizes the user after they sign up with their email and password on the prior signup page?