(validationErrors)
| 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 = [] |
no outgoing calls
no test coverage detected