The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
enable vonage settings
Isaiah Hamilton9fe94d7a1b39
diff --git a/studio/pages/project/[ref]/auth/settings.tsx b/studio/pages/project/[ref]/auth/settings.tsxindex 1287c177b73..0672ff65212 100644--- a/studio/pages/project/[ref]/auth/settings.tsx+++ b/studio/pages/project/[ref]/auth/settings.tsx@@ -264,11 +264,14 @@ const Settings = () => {title="Phone Auth"schema={pluckJsonSchemaFields(authConfig, ['SMS_PROVIDER',+ 'SMS_TWILIO_ENABLED','SMS_TWILIO_ACCOUNT_SID','SMS_TWILIO_AUTH_TOKEN','SMS_TWILIO_MESSAGE_SERVICE_SID',+ 'SMS_MESSENGER_ENABLED','SMS_MESSAGEBIRD_ORIGINATOR','SMS_MESSAGEBIRD_ACCESS_KEY',+ 'SMS_VONAGE_ENABLED','SMS_VONAGE_API_KEY','SMS_VONAGE_API_SECRET','SMS_VONAGE_FROM'@@ -319,7 +322,7 @@ const Settings = () => {errorMessage="Please enter the messagebird originator."/></>- ) : (+ ) : (smsProviderModel?.SMS_PROVIDER === 'twilio' ? (<><AutoFieldname="SMS_TWILIO_ACCOUNT_SID"@@ -337,7 +340,25 @@ const Settings = () => {errorMessage="Please enter the twilio message service sid."/></>- )}+ ) : (+ <>+ <AutoField+ name="SMS_VONAGE_API_KEY"+ showInlineError+ errorMessage="Please enter the vonage account sid."+ />+ <SecretField+ name="SMS_VONAGE_API_SECRET"+ showInlineError+ errorMessage="Please enter the vonage auth token."+ />+ <AutoField+ name="SMS_VONAGE_FROM"+ showInlineError+ errorMessage="Please enter the vonage message service sid."+ />+ </>+ ))}</>)}<UITogglediff --git a/studio/stores/jsonSchema/auth_gotrue_config.json b/studio/stores/jsonSchema/auth_gotrue_config.jsonindex e659a96d301..0f36fefdb1f 100644--- a/studio/stores/jsonSchema/auth_gotrue_config.json+++ b/studio/stores/jsonSchema/auth_gotrue_config.json@@ -405,6 +405,10 @@{"value": "messagebird","label": "Messagebird"+ },+ {+ "value": "vonage",+ "label": "Vonage"}]},@@ -430,6 +434,18 @@"type": "string","help": "Messagebird sender name or phone number"},+ "SMS_VONAGE_API_KEY": {+ "title": "Vonage API Key",+ "type": "string"+ },+ "SMS_VONAGE_API_SECRET": {+ "title": "Vonage API Secret",+ "type": "string"+ },+ "SMS_VONAGE_FROM": {+ "title": "Vonage Sender",+ "type": "string"+ },"SMS_TEMPLATE": {"title": "Body","type": "string"