© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•4y ago•
47 replies
limiteinductive

Subscribe to a channel using a key

Hi everyone,
I have a "results" table that are secured by RLS with the policy where authenticated users can see their own results. I also have a table "tokens" that is used for un-authenticated user to add results using a rpc function that takes the key as an argument.

I would like for a un-authenticated user to be able to subscribe to the "results" table by giving the key corresponding the "token" that is related to the result.

Do you know if it is possible? Or maybe have an idea on how to "hack around" that difficulty?

Thank you for your time
Supabase banner
SupabaseJoin
Supabase gives you the tools, documentation, and community that makes managing databases, authentication, and backend infrastructure a lot less overwhelming.
45,816Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

can't subscribe to realtime channel
SupabaseSSupabase / help-and-questions
4y ago
Best practice to subscribe multiple times to the same channel?
SupabaseSSupabase / help-and-questions
3y ago
Subscribe to specific row
SupabaseSSupabase / help-and-questions
4y ago
Using a foreign key in a stream
SupabaseSSupabase / help-and-questions
4y ago