Web app now supports SSO config (#7137)

This commit is contained in:
NFish
2024-08-25 18:47:16 +08:00
committed by GitHub
parent 741c548f3c
commit 23cedc3f1c
12 changed files with 102 additions and 18 deletions

View File

@@ -348,6 +348,10 @@ export type App = {
tags: Tag[]
}
export type AppSSO = {
enable_sso: boolean
}
/**
* App Template
*/

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,
}