🔍 Scrabble JWT Diagnostics
Test and debug the JWT authentication flow for Famous.ai Scrabble integration
Current User
Not authenticated. Please sign in first.
Generate JWT Token
Create a new JWT token for testing authentication with the Scrabble game
Error: Not authenticated. Please sign in first.
Run Full Diagnostics
Test all components of the JWT authentication flow
Troubleshooting Guide
If you see "Sign-in loop" or white screens:
- Clear browser cookies and localStorage for play.snappyidioms.com
- Try incognito/private browsing mode
- Check that JWT_SECRET matches on both platforms
- Verify token is not expired (check expiry timestamp above)
If token generation fails:
- Ensure you're signed in to SnappyIdioms.com
- Check that generateGameToken function is deployed
- Verify JWT_SECRET is set in environment variables
If game doesn't load:
- Verify play.snappyidioms.com is accessible
- Check browser console for CORS or network errors
- Ensure Famous.ai has implemented JWT validation correctly