The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
remove check if header contains JWT type
dshukertjr3a0923b54ff1
diff --git a/studio/stores/authConfig/schema/AuthProviders/AuthProvidersFormValidation.tsx b/studio/stores/authConfig/schema/AuthProviders/AuthProvidersFormValidation.tsxindex 5ee9e140fa8..731b8123905 100644--- a/studio/stores/authConfig/schema/AuthProviders/AuthProvidersFormValidation.tsx+++ b/studio/stores/authConfig/schema/AuthProviders/AuthProvidersFormValidation.tsx@@ -404,7 +404,7 @@ const EXTERNAL_PROVIDER_APPLE = {then: (schema) =>schema.required('Secret key is required when using the OAuth flow.')- .matches(/^[a-zA-Z0-9_-]+([.][a-zA-Z0-9_-]+){2}$/i, 'Secret key should be a JWT.')+ .matches(/^[a-z0-9_-]+([.][a-z0-9_-]+){2}$/i, 'Secret key should be a JWT.').test({message: 'Secret key is not a correctly generated JWT.',test: (value?: string): boolean => {@@ -420,7 +420,6 @@ const EXTERNAL_PROVIDER_APPLE = {typeof body === 'object' &&header &&body &&- header.typ === 'JWT' &&header.alg === 'ES256' &&body.aud === 'https://appleid.apple.com')