(wip) (supabase) add guide on supporting orgs with supabase integration - #2187
(wip) (supabase) add guide on supporting orgs with supabase integration#2187alexisintech wants to merge 8 commits into
Conversation
|
Hey, here’s your docs preview: https://clerk.com/docs/pr/2187 |
|
Closing this. The gap it targets is still real — the Supabase integration guide doesn't mention organizations anywhere across its 356 lines — but this branch isn't the fastest way there. Two things. The bigger one is that the RLS policies don't work as written. The blog post this was meant to be based on already has the correct form, and a cleaner shape — one create or replace function requesting_owner_id()
returns text language sql stable as $$
select coalesce(
(auth.jwt() -> 'o'::text) ->> 'id'::text,
(auth.jwt() ->> 'sub'::text)
);
$$;DOCS-10212 stays open and now carries a note recording the |
🔎 Previews:
What does this solve?
What changed?
Checklist