diff --git a/apps/docs/content/guides/self-hosting/self-hosted-envoy.mdx b/apps/docs/content/guides/self-hosting/self-hosted-envoy.mdx index f4369c1fd3d..627a95010d3 100644 --- a/apps/docs/content/guides/self-hosting/self-hosted-envoy.mdx +++ b/apps/docs/content/guides/self-hosting/self-hosted-envoy.mdx @@ -19,7 +19,7 @@ Envoy is registered as the `api-gw` service and also exposes `envoy` and `kong` Confirm the gateway is routing requests and enforcing API keys: ```sh -curl -i -H "apikey: your-service-role-key" http:///rest/v1/ +curl -i -H "apikey: your-supabase-secret-key" http:///rest/v1/ ``` A `200 OK` response from PostgREST confirms the gateway is up. A `401 Unauthorized` without the `apikey` header confirms enforcement is active. diff --git a/apps/docs/content/guides/self-hosting/self-hosted-oauth.mdx b/apps/docs/content/guides/self-hosting/self-hosted-oauth.mdx index 66e4872deb9..210e04635cf 100644 --- a/apps/docs/content/guides/self-hosting/self-hosted-oauth.mdx +++ b/apps/docs/content/guides/self-hosting/self-hosted-oauth.mdx @@ -99,7 +99,7 @@ sh run.sh recreate auth Check that the provider is enabled: ```sh -curl -H 'apikey: your-anon-key' https:///auth/v1/settings +curl -H 'apikey: your-supabase-publishable-key' https:///auth/v1/settings ``` The response should include your provider under `external`: @@ -350,9 +350,9 @@ You can test OAuth with the following minimal HTML page: