From d0770fa5ae016e3d3cf05805f7afbf2c1cb7898a Mon Sep 17 00:00:00 2001 From: delgado3d <27228526+delgado3d@users.noreply.github.com> Date: Mon, 29 May 2023 18:14:21 +0530 Subject: [PATCH] chore: remove edge function limitation for custom domains --- apps/docs/pages/guides/platform/custom-domains.mdx | 1 - 1 file changed, 1 deletion(-) diff --git a/apps/docs/pages/guides/platform/custom-domains.mdx b/apps/docs/pages/guides/platform/custom-domains.mdx index 6bf9f41472a..0f9df7630d2 100644 --- a/apps/docs/pages/guides/platform/custom-domains.mdx +++ b/apps/docs/pages/guides/platform/custom-domains.mdx @@ -141,7 +141,6 @@ As with the final activation stage of the process for setting up a vanity subdom ## Limitations -- Edge functions do not honor the custom domain or the vanity subdomain setting and they still have to be invoked via the `foobarbaz.supabase.co` domain. - A Supabase project can—at this time—use either a Custom Domain or a Vanity Subdomain, but not both. - Some authentication flows like Sign-in with Twitter set cookies to track the progress of the flow. Make sure you use only one domain in your frontend application for this reason. Mixing calls to the Supabase domain `foobarbaz.supabase.co` and your custom domain could cause those flows to stop working due to the [Same Origin Policy](https://developer.mozilla.org/en-US/docs/Web/Security/Same-origin_policy) enforced on cookies by the browser.