The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
feat: add UI to configure skip nonce check for Google (#18301)
Stojan Dimitrovski9d6eefa8df4f
diff --git a/studio/stores/authConfig/schema/AuthProviders/AuthProvidersFormValidation.tsx b/studio/stores/authConfig/schema/AuthProviders/AuthProvidersFormValidation.tsxindex 8c81a5846b2..eff76230f98 100644--- a/studio/stores/authConfig/schema/AuthProviders/AuthProvidersFormValidation.tsx+++ b/studio/stores/authConfig/schema/AuthProviders/AuthProvidersFormValidation.tsx@@ -850,6 +850,12 @@ const EXTERNAL_PROVIDER_GOOGLE = {'Comma separated list of client IDs of Android apps, One Tap or Chrome extensions that are allowed to log in to your project.',type: 'string',},+ EXTERNAL_GOOGLE_SKIP_NONCE_CHECK: {+ title: 'Skip nonce checks',+ description:+ "Allows ID tokens with any nonce to be accepted, which is less secure. Useful in situations where you don't have access to the nonce used to issue the ID token, such with iOS.",+ type: 'boolean',+ },},validationSchema: object().shape({EXTERNAL_GOOGLE_ENABLED: boolean().required(),@@ -910,6 +916,7 @@ const EXTERNAL_PROVIDER_GOOGLE = {'At least one Authorized Client ID is required when not using the OAuth flow.'),}),+ EXTERNAL_GOOGLE_SKIP_NONCE_CHECK: boolean(),}),misc: {iconKey: 'google-icon',