Web app now supports SSO config (#7137)

This commit is contained in:
NFish 2024-08-25 18:47:16 +08:00 • committed by GitHub
commit 23cedc3f1c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
12 changed files with 102 additions and 18 deletions

View file

@ -3,6 +3,7 @@ export type SystemFeatures = {
sso_enforced_for_signin_protocol: string
sso_enforced_for_web: boolean
sso_enforced_for_web_protocol: string
enable_web_sso_switch_component: boolean
}
export const defaultSystemFeatures: SystemFeatures = {
@ -10,4 +11,5 @@ export const defaultSystemFeatures: SystemFeatures = {
sso_enforced_for_signin_protocol: '',
sso_enforced_for_web: false,
sso_enforced_for_web_protocol: '',
enable_web_sso_switch_component: false,
}