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

Function validateAuth0Fields

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

Source from the content-addressed store, hash-verified

112 }
113
114 const validateAuth0Fields = (validationErrors) => {
115 if (!auth0Domain) {
116 validationErrors.push('Auth0 Domain cannot be left blank!')
117 }
118 if (!auth0ClientID) {
119 validationErrors.push('Auth0 ClientID cannot be left blank!')
120 }
121 if (!auth0ClientSecret) {
122 validationErrors.push('Auth0 Client Secret cannot be left blank!')
123 }
124 }
125
126 const validateFields = () => {
127 const validationErrors = []

Callers 2

validateFieldsFunction · 0.85
validateAndTestFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected