How do create the onboarding feature after signing up for the first time?
Unanswered
Siamese Crocodile posted this in #help-forum
Siamese CrocodileOP
I want the user to be redirected to the onboarding page ('/onboarding') after signing up for the first time either by entering their email or through socials. How exactly does the onboarding flow work? Do I need to create a separate page (like '/onboarding') that the user is redirected to after signing up (say from '/signup') and then have a form that takes in all the extra info the user has to enter? Or is it done on the same (say '/signup', again) page instead? If the user signs up using their socials like Google, I want some of the input fields in the onboarding page already filled with data fetched from their google account (like their First name and last name for example). I also want the user to see the onboarding page only once i.e after signing up for the first time and never again. What is the correct way of implementing it? I plan to use NextAuth.
1 Reply
Siamese CrocodileOP
in order for the user to see the onboarding page only once, I plan to add something like "hasOnboarded" which takes in a boolean value to determine whether or not the user has onboarded and update its value in the db schema. is this an efficient way of doing it?