MCPcopy Create free account
hub / github.com/simstudioai/sim / validateProviderId

Function validateProviderId

apps/sim/ee/sso/components/sso-settings.tsx:194–198  ·  view source on GitHub ↗
(value: string)

Source from the content-addressed store, hash-verified

192 }
193
194 const validateProviderId = (value: string): string[] => {
195 if (!value || !value.trim()) return ['Provider ID is required.']
196 if (!/^[-a-z0-9]+$/i.test(value.trim())) return ['Use letters, numbers, and dashes only.']
197 return []
198 }
199
200 const validateIssuerUrl = (value: string): string[] => {
201 const out: string[] = []

Callers 1

validateAllFunction · 0.85

Calls 1

testMethod · 0.80

Tested by

no test coverage detected