Skip to content

fix(supabase): reset the Realtime token to the API key on sign-out - #532

Merged
Tr00d merged 2 commits into
supabase:masterfrom
fresh55:fix/realtime-token-on-signout
Oct 22, 2026
Merged

Tr00d merged 2 commits into
supabase:masterfrom
fresh55:fix/realtime-token-on-signout

Conversation

@fresh55

@fresh55 fresh55 commented Oct 21, 2026 •

Copy link
Copy Markdown
Contributor

Hit this in Unity 6.3: after SignOut, a new channel still gets the signed-out user's private rows.

Sign-out unsubscribed the channels but kept the user's JWT in Realtime, so the next join sent it again. Now the client sets the Realtime token back to the API key on SignedOut, same as supabase-js.

@fresh55 fresh55 changed the title fix(realtime): clear the user token on sign-out fix(supabase): reset the Realtime token to the API key on sign-out Oct 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants