Logging In

Sign in with email and password, Google, or with TOTP two-factor authentication.

Logging In

BabyShopHub supports three login methods. All methods are handled securely through Firebase Authentication.


Method 1 — Email & Password

  1. Open the app and tap "Sign In" on the Welcome Screen
  2. Enter your registered email and password
  3. Tap "Log In"

If your credentials are correct and you don't have 2FA enabled, you are immediately taken to the Home Screen.

After 3 failed login attempts, Firebase may temporarily lock the sign-in endpoint for that email. Wait a few minutes before trying again.


Method 2 — Sign In with Google

  1. On the Login Screen, tap "Continue with Google"
  2. Choose your Google account from the system picker
  3. BabyShopHub receives your verified Google profile and creates or loads your account automatically

First-time Google Sign-In: A new BabyShopHub account is created automatically using your Google display name and email. A Welcome email is sent.

Returning Google users: Your existing profile, addresses, wishlist, and orders are loaded immediately.

Google Sign-In works differently on web vs mobile. On web, a popup window is used. On mobile, the native Google account picker is invoked.


Method 3 — Two-Factor Authentication (TOTP)

If you have enabled Google Authenticator 2FA on your account, the login flow adds a second step:

  1. Enter your email and password as usual
  2. BabyShopHub verifies your credentials, then signs you out temporarily
  3. A prompt appears asking for your 6-digit Authenticator code
  4. Open your Google Authenticator (or compatible TOTP) app and enter the current code
  5. Tap "Verify" — you are signed in

TOTP codes rotate every 30 seconds. BabyShopHub accepts codes from the current window and ±1 window (±30 seconds) to account for clock drift between your phone and the server.


Login Security Alerts

Every successful email/password login triggers a security notification email to your registered address:

Subject: ️ Security Alert: Login Notification
Content: Login timestamp

If you receive this email but did not log in, change your password immediately from the Profile screen.


Forgot Your Password?

  1. On the Login Screen, tap "Forgot Password?"
  2. Enter your registered email address
  3. A 5-digit OTP is sent to your email with the subject: "Reset Your Password - BabyShopHub OTP"
  4. Enter the OTP to confirm your identity
  5. Set a new password

Troubleshooting

ProblemSolution
"Incorrect email or password"Double-check your credentials. Use Forgot Password if needed.
Google Sign-In cancelledTap "Continue with Google" again and complete the picker
TOTP code rejectedEnsure your phone clock is synced. Try the code just as it refreshes.
Account lockedWait 5–10 minutes then try again

On this page