The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
fix data access token
Duncan Healyd8814c6919b7
diff --git a/examples/live-tracker-map/pages/api/auth/signup.js b/examples/live-tracker-map/pages/api/auth/signup.jsindex b4615dc2bcb..3cb09df1825 100644--- a/examples/live-tracker-map/pages/api/auth/signup.js+++ b/examples/live-tracker-map/pages/api/auth/signup.js@@ -6,7 +6,7 @@ export default async function (req, res) {const authBody = await auth.signUp({email, password})- supabase.setAccessToken(authBody.access_token)+ supabase.setAccessToken(authBody.data.access_token)const { body: user } = await supabase.from('users').insert([{ id: authBody.user.id, username: email, role }]).single()return res.status(200).json({ ...user, refresh_token: authBody.refresh_token })