We needed to write two more functions to be able to finalize our Apple Auth Flow:
CheckUsername -> Allows for a username to be passed in and checks to see if it is available to use
DocExists -> Checks to see if the userdocument is already there
During the onboarding flow we needed these because we weren't authenticated yet with Firebase.
We needed to write two more functions to be able to finalize our Apple Auth Flow:
CheckUsername -> Allows for a username to be passed in and checks to see if it is available to use DocExists -> Checks to see if the userdocument is already there
During the onboarding flow we needed these because we weren't authenticated yet with Firebase.