mirror of
https://github.com/supabase/supabase.git
synced 2026-10-11 20:35:07 +03:00
* Add user token in auth.mdx I added the part of the code responsible for initializing the Supabase client with the token passed via the header, to ensure compliance with RLS (Row-Level Security). As shown on this page: https://github.com/supabase/supabase/blob/master/examples/edge-functions/supabase/functions/select-from-table-with-auth-rls/index.ts Otherwise authentication will not be completed. * make js compatible --------- Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>