Closed whenmoon closed 4 years ago
Basically you are correct with the solution.
In terms of phone number authentication - there is no a sign up process, it's only a sign in, which will create a user on the first time a user logs in.
So basically the flow should be like this:
1) sign in with phone number 2) check user's fields - if they are empty -> do another request to user update and set the required name & email
Understood Dave thanks. It's actually the same flow when signing in with Firebase.
During the signup process I need to be able to add a name and email address to the ConnectyCube user profile.
Your docs use this example when not signing up using a phone number and Firebase phone number authentication:
The docs say that when creating a ConnectyCube account up with a phone number and Firebase, use this code:
At the moment I am using this hacky solution that is prone to errors to add a name to a ConnectyCube account during signup with phone number:
How can I add name and email to ConnectyCube profile during account creation with phone number?
Thanks.