In my scenario, during signup I want to validate my user’s email, username and telephone number against business rules in my API BEFORE their account has been created. This includes whether they have an existing social/email account .
The email and telephone should be validated to see if they are real (email proof, telephone text code). Users could potentially log in with social accounts whilst having done an email/pw or forget and try to signup again so this is designed to intercept them rather than creating multiple accounts. I also want to capture first and last names so that when the account is created it is already populated.
I don’t want to do this post-login as a data enhancement as that is too late and auth0 has then created an account in the db. I need it to call my APIs after each wizard stage. The final call to my api will then create the account in the database with the validated username/firstname/lastname/telephone/email.
I experimented with adding extra fields/api call using forms but these only seem to work with the post-login. My android application receives an incomplete jwt token for a partially set up user then would have to redirect back again which also caused concurrency problems. I know I could add an additional “Profile_incomplete” flag but this feels like a hack because the front ends all then have to be coded to handle it rather than being presented with a complete and validated user.
The only option I see for doing this in a nice way is a wizard within the classic but that seems really difficult to get styling right for. I have an android/ios/web site so need this to work the same across all. Is there a handy code library to match the universal style as a wizard but in classic? Currently my attempts to style have looked horrible but if that is the only way I will put more effort into understanding the css better.
Given the flow chart below can I achieve what I need?
Thank you!