MCPcopy Create free account
hub / github.com/FlowiseAI/Flowise / validateAzureFields

Function validateAzureFields

packages/ui/src/views/auth/ssoConfig.jsx:85–95  ·  view source on GitHub ↗
(validationErrors)

Source from the content-addressed store, hash-verified

83 }
84
85 const validateAzureFields = (validationErrors) => {
86 if (!azureTenantID) {
87 validationErrors.push('Azure TenantID cannot be left blank!')
88 }
89 if (!azureClientID) {
90 validationErrors.push('Azure ClientID cannot be left blank!')
91 }
92 if (!azureClientSecret) {
93 validationErrors.push('Azure Client Secret cannot be left blank!')
94 }
95 }
96 const validateGoogleFields = (validationErrors) => {
97 if (!googleClientID) {
98 validationErrors.push('Google ClientID cannot be left blank!')

Callers 2

validateFieldsFunction · 0.85
validateAndTestFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected