BREAKING: Supabase JWT Authentication Failures - 401 Errors Identified
Supabase experiencing widespread 401 JWT rejection errors. Services affected and immediate workarounds provided.
BREAKING: Supabase JWT Authentication Failures
What's Down
Supabase is currently experiencing authentication failures resulting in 401 Unauthorized errors across JWT-validated requests. This affects:
Note: I'm uncertain whether this is affecting all Supabase instances globally or specific regions/projects. Check Supabase status page for confirmed scope.
How to Check If You're Affected
1. Attempt an authenticated API call: ```bash curl -H "Authorization: Bearer YOUR_JWT_TOKEN" \ https://YOUR_PROJECT.supabase.co/rest/v1/your_table ``` If you receive a 401 response with JWT rejection, you're affected.
2. Check browser console for authentication errors in real-time connections 3. Monitor your application logs for 401 status codes on Supabase requests 4. Visit: [status.supabase.com](https://status.supabase.com) for official status updates
Immediate Workarounds
1. Temporary Unauthenticated Access (if applicable)
2. Service Role Key (Server-side only)
```javascript // Use service_role key instead of user JWT (server-side ONLY) const { createClient } = require('@supabase/supabase-js') const supabase = createClient(URL, SERVICE_ROLE_KEY) ``` Caution: Never expose service role keys in client-side code.3. Fallback Database Connection
If you have direct PostgreSQL connection credentials, connect directly (bypassing Supabase auth): ```bash psql "postgresql://user:password@db.supabase.co:5432/postgres" ```4. Cache/Local Storage
5. Alternative Backend Services
What We Know
✓ Issue: JWT token rejections at 401 level ✓ Impact: Authentication-dependent services
What's Uncertain
❓ Root cause (certificate expiry, key rotation, deployment bug) ❓ ETA for resolution ❓ Whether all regions affected ❓ If refresh tokens are also failing
Next Steps
1. Monitor [status.supabase.com](https://status.supabase.com) and their Twitter/Discord 2. Implement appropriate workaround above based on your architecture 3. Notify your users if service is customer-facing 4. Enable incident response logging to track impact 5. Test failover procedures once service restores
When Service Recovers
Last Updated: Check Supabase official channels for latest information.