The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
fix(self-hosted): GraphiQL invalided authentication credentials (#29972)
Alaister Young5bfad6bf1c62
diff --git a/apps/studio/pages/project/[ref]/api/graphiql.tsx b/apps/studio/pages/project/[ref]/api/graphiql.tsxindex a658863ddc5..0d7e0bfb9d8 100644--- a/apps/studio/pages/project/[ref]/api/graphiql.tsx+++ b/apps/studio/pages/project/[ref]/api/graphiql.tsx@@ -71,7 +71,9 @@ const GraphiQLPage: NextPageWithLayout = () => {...opts,headers: {...opts?.headers,- Authorization: `Bearer ${accessToken}`,+ ...(accessToken && {+ Authorization: `Bearer ${accessToken}`,+ }),'x-graphql-authorization':opts?.headers?.['Authorization'] ??opts?.headers?.['authorization'] ??