Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

fix google client ID validator

Stojan Dimitrovskib65d8b942767
diff --git a/studio/stores/authConfig/schema/AuthProviders/AuthProvidersFormValidation.tsx b/studio/stores/authConfig/schema/AuthProviders/AuthProvidersFormValidation.tsx
index bd383a8c4f5..3020af6abec 100644
--- a/studio/stores/authConfig/schema/AuthProviders/AuthProvidersFormValidation.tsx
+++ b/studio/stores/authConfig/schema/AuthProviders/AuthProvidersFormValidation.tsx
@@ -757,7 +757,7 @@ const EXTERNAL_PROVIDER_GOOGLE = {
}
),
EXTERNAL_GOOGLE_CLIENT_ID: string().matches(
- /^([a-z0-9-]+([.][a-z0-9-]+))?$/i,
+ /^([a-z0-9-]+([.][a-z0-9-]+)+)?$/i,
'Invalid characters. Google OAuth Client IDs are usually a domain-name (e.g. 01234567890-abcdefghijklmnopqrstuvwxyz012345.apps.googleusercontent.com).'
),
EXTERNAL_GOOGLE_ADDITIONAL_CLIENT_IDS: string()