MCPcopy
hub / github.com/nextauthjs/next-auth / supabase-rls.js

File supabase-rls.js

apps/dev/pages/api/examples/supabase-rls.js:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1// This is an example of how to query data from Supabase with RLS.
2// Learn more about Row Levele Security (RLS): https://supabase.com/docs/guides/auth/row-level-security
3import { getServerSession } from "next-auth/next"
4import { authOptions } from "/app/api/auth/[...nextauth]/route"

Callers

nothing calls this directly

Calls 1

getServerSessionFunction · 0.90

Tested by

no test coverage detected