File tree Expand file tree Collapse file tree 1 file changed +2
-44
lines changed
apps/sim/ee/sso/components Expand file tree Collapse file tree 1 file changed +2
-44
lines changed Original file line number Diff line number Diff line change @@ -12,54 +12,12 @@ import { cn } from '@/lib/core/utils/cn'
1212import { getBaseUrl } from '@/lib/core/utils/urls'
1313import { getUserRole } from '@/lib/workspaces/organization/utils'
1414import { useConfigureSSO , useSSOProviders } from '@/ee/sso/hooks/sso'
15+ import { SSO_TRUSTED_PROVIDERS } from '@/ee/sso/lib/constants'
1516import { useOrganizations } from '@/hooks/queries/organization'
1617import { useSubscriptionData } from '@/hooks/queries/subscription'
1718
1819const logger = createLogger ( 'SSO' )
1920
20- const TRUSTED_SSO_PROVIDERS = [
21- 'okta' ,
22- 'okta-saml' ,
23- 'okta-prod' ,
24- 'okta-dev' ,
25- 'okta-staging' ,
26- 'okta-test' ,
27- 'azure-ad' ,
28- 'azure-active-directory' ,
29- 'azure-corp' ,
30- 'azure-enterprise' ,
31- 'adfs' ,
32- 'adfs-company' ,
33- 'adfs-corp' ,
34- 'adfs-enterprise' ,
35- 'auth0' ,
36- 'auth0-prod' ,
37- 'auth0-dev' ,
38- 'auth0-staging' ,
39- 'onelogin' ,
40- 'onelogin-prod' ,
41- 'onelogin-corp' ,
42- 'jumpcloud' ,
43- 'jumpcloud-prod' ,
44- 'jumpcloud-corp' ,
45- 'ping-identity' ,
46- 'ping-federate' ,
47- 'pingone' ,
48- 'shibboleth' ,
49- 'shibboleth-idp' ,
50- 'google-workspace' ,
51- 'google-sso' ,
52- 'saml' ,
53- 'saml2' ,
54- 'saml-sso' ,
55- 'oidc' ,
56- 'oidc-sso' ,
57- 'openid-connect' ,
58- 'custom-sso' ,
59- 'enterprise-sso' ,
60- 'company-sso' ,
61- ]
62-
6321interface SSOProvider {
6422 id : string
6523 providerId : string
@@ -565,7 +523,7 @@ export function SSO() {
565523 < Combobox
566524 value = { formData . providerId }
567525 onChange = { ( value : string ) => handleInputChange ( 'providerId' , value ) }
568- options = { TRUSTED_SSO_PROVIDERS . map ( ( id ) => ( {
526+ options = { SSO_TRUSTED_PROVIDERS . map ( ( id ) => ( {
569527 label : id ,
570528 value : id ,
571529 } ) ) }
You can’t perform that action at this time.
0 commit comments