BREAKING: Supabase JWT Authentication Issues - 401 Errors Identified
Supabase experiencing widespread 401 JWT rejection errors. Immediate workarounds and status checks available.
Incident Summary
Supabase is currently experiencing authentication failures resulting in 401 errors across JWT-based requests. This affects API calls, real-time subscriptions, and client-side authentication flows.
What's Down
How to Check If You're Affected
1. Check Supabase Status Page: https://status.supabase.com/ 2. Test Your Connection: ```bash curl -H "Authorization: Bearer YOUR_JWT" \ https://YOUR_PROJECT.supabase.co/rest/v1/ ``` 3. Monitor Console: Check browser dev tools for 401 responses in network tab 4. Application Logs: Review server logs for JWT rejection errors
Immediate Workarounds
Temporary Solution 1: Token Refresh
Temporary Solution 2: Direct Database Connection
If you have direct PostgreSQL access: ```bash psql postgresql://postgres:PASSWORD@db.YOUR_PROJECT.supabase.co:5432/postgres ``` Note: I'm unsure if this avoids the JWT layer or if it's affected.Temporary Solution 3: API Key Authentication (if applicable)
Test using service role keys instead of user JWTs: ```bash curl -H "Authorization: Bearer YOUR_SERVICE_ROLE_KEY" \ https://YOUR_PROJECT.supabase.co/rest/v1/ ```Alternative Services During Outage
Rollback Steps
1. Check Supabase dashboard for recent deployments 2. Review your project's auth configuration for recent changes 3. If you modified JWT secret recently, verify the change propagated correctly 4. Clear CloudFlare cache if using CDN (Settings > Cache > Purge Everything)
What We Don't Know
Recommendations
1. Immediate: Check Supabase status page and their official channels 2. Short-term: Implement token refresh logic in your client 3. Long-term: Consider multi-auth redundancy for critical applications 4. Monitor: Subscribe to Supabase status updates
Next Steps
Contact Supabase support directly via:
Last Updated: Check timestamp of latest status page update for current information.