Skip to content
This repository has been archived by the owner on May 13, 2023. It is now read-only.

feat: add user_token when creating realtime channel subscription #57

Merged
merged 1 commit into from Oct 24, 2021

Conversation

dshukertjr
Copy link
Member

What kind of change does this PR introduce?

This PR adds user_token header to realtime channel subscription.

Related #56
Related supabase/supabase-js#270

What is the current behavior?

Pass the user access token to Realtime in order to apply RLS on a per topic basis via WALRUS.

What is the new behavior?

Not passing user_token to realtime channel subscription.

Copy link
Contributor

@bdlukaa bdlukaa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@dshukertjr dshukertjr merged commit f53c8c6 into supabase:main Oct 24, 2021
@dshukertjr dshukertjr deleted the feat/userToken branch October 24, 2021 02:41
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants