OTP Email Login¶
Allow customers to login to your BigCommerce store using passwordless email verification codes.
Overview¶
OTP (One-Time Password) Email Login provides a secure, passwordless way for customers to access your store. Customers simply enter their email address and receive a temporary login code.
Benefits¶
For Customers¶
- Passwordless: No need to remember or create passwords
- Secure: Temporary codes that expire quickly
- Simple: Just need an email address
- Accessible: Works for customers without social accounts
For Your Store¶
- Higher conversion: Remove password barriers
- Broader accessibility: Reach customers who don't use social media
- Reduced support: No password reset requests
- Enhanced security: No stored passwords to compromise
How It Works¶
- Customer enters email on login page
- System sends 6-digit code to their email instantly
- Customer enters code to complete login
- Code expires after 10 minutes for security
- Account created automatically if email doesn't exist
Setup¶
Enable OTP Email Login¶
- Go to Papa Social Login dashboard
- Find "OTP Email Login" in the Social Providers section
- Toggle the switch to ON
- Configure your SMTP server settings (required)
- Click "Save Changes"
SMTP Configuration Required¶
You must configure your own SMTP server to send OTP emails:
{
"host": "smtp.gmail.com",
"port": 587,
"secure": false,
"auth": {
"user": "your-email@gmail.com",
"pass": "your-app-password"
},
"from": {
"name": "Your Store Name",
"email": "your-email@gmail.com"
}
}
Popular SMTP Providers¶
Gmail SMTP: - Host: smtp.gmail.com - Port: 587 - Requires App Password (not your regular Gmail password)
SendGrid SMTP: - Host: smtp.sendgrid.net - Port: 587 - Use API key as password
Other providers: Most email providers offer SMTP services. Check your provider's documentation for settings.
Testing¶
Test the OTP Flow¶
- Open your website in an incognito/private browser window
- Go to your login page (yourstore.com/login.php)
- You should see the "Sign in with Email" button
- Enter an email address
- Check email for the 6-digit code
- Enter the code to complete login
Common Issues¶
OTP Emails Not Sending¶
- Verify SMTP configuration is correct
- Check your email provider's SMTP settings
- Test SMTP connection using the built-in test feature
- Check spam/junk folders
Invalid Code Errors¶
- Codes expire after 10 minutes
- Each code can only be used once
- Check for typos in the entered code
- Request a new code if needed
Email Delivery Issues¶
- Configure proper SPF records for your domain
- Ensure your sending domain has good reputation
- Consider using a dedicated email service like SendGrid
Email Template¶
The OTP email template includes: - 6-digit verification code - Expiration time (10 minutes) - Store name and branding - Security reminder
Example email content:
Your login code for [Store Name]: 123456
This code will expire in 10 minutes.
If you didn't request this code, please ignore this email.
Support¶
Need help with OTP Email Login setup?
- Email: support@papathemes.com
- Live Chat: Available in dashboard
- Documentation: SMTP configuration guide
SMTP Required
OTP Email Login requires your own SMTP server configuration. Papa Social Login does not provide email sending services.