Onboarding
Run locally for transcripts
π¨βπΌ 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
verifySession
along with the rest of the profile information and redirect to the/onboarding/github
route. - In the
loader
, get the pre-filled information from theverifySession
and 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
signupWithConnection
utility in that takes the onboarding information (along with the verifiedemail
andproviderId
) and creates a new user with a connection. - Use the
signupWithConnection
utility in theaction
to create the new user and redirect to the/
route.
That should have you all set.