Common Issues
This guide covers the top 10 most common issues users encounter with OneTap Login and how to resolve them.
1. One Tap Popup Not Appearing
Symptoms
- No Google popup when visiting the page
- Button works but One Tap doesn't show
- Works on some browsers but not others
Causes
| Cause | Likelihood |
|---|---|
| User not logged into Google | High |
| User dismissed One Tap previously | High |
| FedCM not supported (older browser) | Medium |
| Cookie consent not given | Medium |
| Site not using HTTPS | Medium |
| Third-party cookies blocked | Medium |
Solutions
-
Check Google login status
- User must be logged into Google in their browser
- Try visiting gmail.com to verify
-
Cooldown period
- Google enforces cooldown after dismissal
- Wait 2 hours or clear Google cookies
-
Browser compatibility
- Chrome 117+ uses FedCM (more reliable)
- Safari has stricter privacy controls
- Try Chrome for testing
-
Cookie consent
- If using cookie consent plugin, ensure consent given
- Check settings: Auto-detect vs Never wait
-
HTTPS requirement
- Must use HTTPS (except localhost)
- Check SSL certificate is valid
-
Third-party cookies
- Check browser settings allow third-party cookies for google.com
- Or use browsers with FedCM support
Quick Test
1. Open Chrome Incognito
2. Log into Google
3. Visit your My Account page
4. One Tap should appear
2. "Invalid Origin" Error
Symptoms
- Error in browser console
Error: Invalid origin for client- Button doesn't load or shows error
Cause
Your site's domain is not in the Authorized JavaScript Origins in Google Cloud Console.
Solution
- Go to Google Cloud Console
- Select your project
- Go to APIs & Services > Credentials
- Click your OAuth 2.0 Client ID
- Add your domain to Authorized JavaScript Origins:
https://yourdomain.com
https://www.yourdomain.com - Save changes
- Wait 5 minutes for propagation
- Hard refresh your site (Ctrl+Shift+R)
Common Mistakes
| Wrong | Correct |
|---|---|
http://yourdomain.com | https://yourdomain.com |
https://yourdomain.com/ | https://yourdomain.com |
| Missing www variant | Add both with and without www |
3. "redirect_uri_mismatch" Error
Symptoms
- Error page from Google
Error 400: redirect_uri_mismatch- Shows during OAuth flow
Cause
The redirect URI doesn't match what's configured in Google Cloud Console.
Solution
- Go to Google Cloud Console > Credentials
- Edit your OAuth Client ID
- Add to Authorized redirect URIs:
https://yourdomain.com/wp-json/onetap/v1/callback - Also add www variant if used:
https://www.yourdomain.com/wp-json/onetap/v1/callback - Save and wait 5 minutes
Verify Your URI
In WordPress, go to Settings > OneTap Login and look for the callback URL shown in the settings.
4. Connection Test Fails
Symptoms
- Test Connection shows red X
- "Invalid Client ID" or "Invalid Client Secret"
- Can't save settings
Solutions by Error
Invalid Client ID:
- Copy Client ID from Google Cloud Console
- Paste exactly, no spaces
- Check for correct project
- Verify client type is "Web application"
Invalid Client Secret:
- Copy Client Secret (or create new one)
- Paste exactly, no spaces
- Secrets can only be viewed once when created
REST API Error:
- Check if REST API is accessible
- Test:
https://yourdomain.com/wp-json/ - Security plugins may block REST API
HTTPS Error:
- Site must use HTTPS
- Check SSL certificate is valid
- Force HTTPS via WordPress settings
Google API Error:
- Enable "Google Identity Services" API
- Configure OAuth consent screen
- Check project quota
5. User Created But Can't Log In
Symptoms
- Account created successfully
- But login fails next time
- Or wrong account accessed
Causes
- Account not linked: Google ID not saved to user
- Email conflict: Different user has same email
- Role issue: User role was changed
Solutions
-
Check user meta:
- Go to Users > Edit User
- Look for Google ID in user meta
- If missing, user must re-link
-
Email conflict:
- Search users by email
- Ensure no duplicates
- Merge accounts if needed
-
Test with new Google account:
- Use different Google account
- Verify new account links properly
6. Button Looks Wrong or Distorted
Symptoms
- Button appears stretched or squished
- Missing styling
- Wrong size
Causes
- Theme CSS conflicts
- Container too narrow
- JavaScript not loading
Solutions
-
Check container width:
.onetap-button-container {
min-width: 250px;
} -
Reset conflicting CSS:
.g_id_signin iframe {
border: none !important;
max-width: none !important;
} -
Verify scripts loading:
- Check browser console for errors
- Google's GSI script should load
-
Test with default theme:
- Switch to Twenty Twenty-Four
- If fixed, issue is theme-specific
7. Infinite Redirect Loop
Symptoms
- Page keeps reloading
- "Too many redirects" error
- Never finishes logging in
Causes
- Caching plugin caching logged-in state
- Redirect URL misconfigured
- Security plugin blocking
Solutions
-
Clear all caches:
- WordPress cache
- Browser cache
- CDN cache (Cloudflare, etc.)
-
Check redirect settings:
- Disable custom redirects temporarily
- Use default WordPress redirect
-
Exclude from caching:
Exclude URLs:
/wp-json/onetap/*
/my-account/* -
Check security plugins:
- See Security Plugins guide
8. "Email Already Exists" Error
Symptoms
- Error when trying to register
- "An account with this email already exists"
- Can't complete sign-in
What's Happening
The Google email matches an existing WordPress user, but account linking is disabled or failed.
Solutions
-
Enable Account Linking:
- Settings > OneTap Login > Users
- Enable "Link existing accounts by email"
-
Use Account Merge (PRO):
- Requires password verification
- More secure for existing accounts
-
Manual linking:
- User logs in with password first
- Then links Google account in profile
-
Different email:
- User has different email in Google vs WordPress
- Update WordPress email to match
9. Login Works on Desktop, Not Mobile
Symptoms
- Google sign-in works on computer
- Fails or looks wrong on phone
- One Tap doesn't appear on mobile
Causes
- Mobile browser restrictions
- Responsive CSS issues
- Touch target too small
Solutions
-
One Tap on mobile:
- Works differently on mobile
- May show as bottom sheet instead of popup
- Requires user action on iOS
-
Button responsiveness:
@media (max-width: 768px) {
.onetap-button-container {
width: 100%;
}
} -
Test specific devices:
- iOS Safari
- Android Chrome
- Samsung Internet
-
In-app browsers:
- Facebook/Instagram in-app browsers may not work
- Redirect to system browser if possible
10. PRO Features Not Working
Symptoms
- PRO features show as disabled
- License active but features unavailable
- Analytics not recording
Causes
- License not activated
- License on different site
- Plugin needs update
- Cache issue
Solutions
-
Check license status:
- Settings > OneTap Login > License
- Verify "Active" status
-
Deactivate/Reactivate:
- Deactivate license
- Clear cache
- Reactivate license
-
Check site URL:
- License tied to specific domain
- www vs non-www matters
-
Update plugin:
- PRO features may need latest version
- Check for updates
-
Contact support:
- If still not working, contact PRO support
Quick Diagnostic Checklist
Before contacting support, check:
- HTTPS is working
- Client ID correct (no extra spaces)
- Client Secret correct
- Origins/URIs configured in Google Cloud
- Test Connection passes (5 green checks)
- Tested in incognito/private mode
- Tested with different browser
- Checked browser console for errors
- Disabled caching temporarily
- Tested with default theme
Still Having Issues?
See these specific guides:
- Error Codes - Detailed error explanations
- Google API Errors - Google-specific issues
- Cloudflare - CDN/WAF issues
- Debug Mode - Enable logging
- Support - Contact support
Next Steps
- Error Codes - Full error reference
- Debug Mode - Enable detailed logging
- FAQ - Frequently asked questions