The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
Add chrome-extension as allowable domain for auth redirect URLs
Joshen Limf79185257b96
diff --git a/studio/components/interfaces/Auth/Auth.constants.ts b/studio/components/interfaces/Auth/Auth.constants.tsindex dd1aea4b908..08400fdefff 100644--- a/studio/components/interfaces/Auth/Auth.constants.ts+++ b/studio/components/interfaces/Auth/Auth.constants.ts@@ -18,8 +18,10 @@ const appRegex =// Regex from https://stackoverflow.com/a/18696953/4807782const localhostRegex = /^(?:^|\s)((https?:\/\/)?(?:localhost|[\w-]+(?:\.[\w-]+)+)(:\d+)?(\/\S*)?)/i+const chromeExtensionRegex = /chrome-extension:\/\/([a-zA-Z]*)/gm+// combine the above regexesexport const domainRegex = new RegExp(- `(${baseDomainRegex.source})|(${localhostRegex.source})|(${appRegex.source})`,+ `(${baseDomainRegex.source})|(${localhostRegex.source})|(${appRegex.source})|(${chromeExtensionRegex.source})`,'i')