Date: 2025-05-21 10:22:58
Score: 2
Natty:
In order to use custom JWT validation in RLS with realtime, you need to manually set the refreshed JWT token in Supabase realtime client too :
client.realtime.setAuth({your refreshed token})
doc : https://supabase.com/docs/guides/realtime/postgres-changes?queryGroups=database-method&database-method=sql&queryGroups=language&language=dart#refreshed-tokens
Reasons:
- Probably link only (1):
- Low length (0.5):
- Has code block (-0.5):
- Low reputation (1):
Posted by: Lord Lothar 99