The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
docs: clarify Realtime docs custom token
Wen Bo Xie575de74015b8
diff --git a/apps/docs/pages/guides/realtime/extensions/postgres-changes.mdx b/apps/docs/pages/guides/realtime/extensions/postgres-changes.mdxindex 07b819990ac..f9d2ff2e4d6 100644--- a/apps/docs/pages/guides/realtime/extensions/postgres-changes.mdx+++ b/apps/docs/pages/guides/realtime/extensions/postgres-changes.mdx@@ -335,7 +335,8 @@ const channel = supabaseYou may choose to sign your own tokens to customize claims that can be checked in your RLS policies.In order for this to work you must pass `apikey` in both Realtime's `headers` and `params` when creating the client.-The `apikey` in `headers` must be either the `anon` or `service_role` token that Supabase signed.+The `apikey` in `headers` must be either the `anon` or `service_role` token that Supabase provides for every project.+You can find these tokens under [Project API keys](https://app.supabase.com/project/_/settings/api) in your project's dashboard.This will authenticate your request in the API gateway.<Admonition type="caution">