The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
check for user
Alaister Youngaa78498fa328
diff --git a/apps/reference/docs/guides/with-nextjs.mdx b/apps/reference/docs/guides/with-nextjs.mdxindex 66d8e6f0dd9..8607016a079 100644--- a/apps/reference/docs/guides/with-nextjs.mdx+++ b/apps/reference/docs/guides/with-nextjs.mdx@@ -288,6 +288,10 @@ export default function Account({ session }) {throw error}+ if (!session?.user) {+ throw new Error('User not logged in')+ }+return session.user}