Overview
The Restaurant Reservation System uses Firebase Authentication to verify customer phone numbers via SMS. This ensures that reservations are legitimate and allows customers to view their booking history securely.SMS verification is required for:
- Creating new reservations
- Viewing existing reservations (“Mis Reservas”)
How It Works
Phone Number Normalization
When you enter your phone number, it’s automatically normalized to E.164 format:
Example transformations:
2614567890→+5426145678900261 456-7890→+54261456789015 2614567890→+5492614567890
Enter Verification Code
You’ll see a dialog prompting you to enter the 6-digit code:
You have 60 seconds to enter the code. After that, you can request a new code via the “Reenviar código” button.
reCAPTCHA (Web Only)
On web platforms, Firebase uses reCAPTCHA to prevent abuse:The system uses an invisible reCAPTCHA which appears as a modal only when needed. This provides security without disrupting the user experience.
Error Handling
Invalid Phone Number
Invalid Phone Number
Too Many Requests
Too Many Requests
Quota Exceeded
Quota Exceeded
Invalid Verification Code
Invalid Verification Code
Session Expired
Session Expired
reCAPTCHA Failed
reCAPTCHA Failed
Security Features
Phone Ownership
Only the person with access to the phone can verify the number
One-Time Codes
Verification codes are single-use and expire quickly
Rate Limiting
Firebase limits requests to prevent spam and abuse
reCAPTCHA Protection
Web users must pass reCAPTCHA to prevent bots
Tips for Successful Verification
- Use a valid Argentine phone number (country code +54)
- Ensure you can receive SMS at the number provided
- Check your SMS inbox within 60 seconds of requesting the code
- Enter the full 6-digit code exactly as received
- Don’t refresh the page during verification (on web)
- If code doesn’t arrive, wait for the timer and request a new code
- If you encounter errors, try:
- Checking your phone number format
- Waiting a few minutes before retrying
- Refreshing the page (on web)
- Using a different browser (on web)
Temporary Session
After verification, a temporary session is created:The session allows you to make multiple reservations without re-verifying your phone number each time (within 30 days).