Files
supabase/apps/docs/content/guides/functions
Filippo BrigatiandCharis 83947491f3 Add user token initialization in auth.mdx (#32997)
* 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>
2025-06-02 16:02:49 -04:00
..
2025-03-22 15:51:01 +01:00
2025-02-21 14:13:00 -05:00
2025-04-08 13:25:46 -04:00
2025-04-08 13:25:46 -04:00
2025-02-28 10:43:58 -05:00