EXAMPLE 1: New User (Minimal) ============================== === Starting Authentication Flow === Step 1: Checking if user exists... ✗ User not found. Registering new user... Error: Registration failed - null EXAMPLE 1b: New User (Full Profile) ==================================== === Starting Authentication Flow === Step 1: Checking if user exists... ✗ User not found. Registering new user... Error: Registration failed - null EXAMPLE 2: Existing User ======================== === Starting Authentication Flow === Step 1: Checking if user exists... ✗ User not found. Registering new user... Error: Registration failed - null EXAMPLE 3: Verify Code ====================== After receiving the code via email, call: completeAuthentication('user@example.com', '42');