Onboarding
Sign Up with Github and Handling Mocked Data
π¨βπΌ This step is going to require a little bit more work. So, when a user is not
logged in, and there's no connection, we want to send them to onboarding so
they can create a new account. This means we're going to need to do a few
things:
- In , put
the third party profile email into the
verifySessionalong with the rest of the profile information and redirect to the/onboarding/githubroute. - In the
loader, get the pre-filled information from theverifySessionand use it to pre-populate the onboarding form (the form was already put together by Kellie π§ββοΈ so you don't have to put that together). - Create a new
signupWithConnectionutility in that takes the onboarding information (along with the verifiedemailandproviderId) and creates a new user with a connection. - Use the
signupWithConnectionutility in theactionto create the new user and redirect to the/route.
That should have you all set.