OIDC: add config flag (#11007)
* add settings flag for native oidc flow * i18n
This commit is contained in:
parent
34439ee652
commit
700786ad86
2 changed files with 7 additions and 0 deletions
|
@ -988,6 +988,7 @@
|
|||
"Favourite Messages": "Favourite Messages",
|
||||
"Under active development.": "Under active development.",
|
||||
"Force 15s voice broadcast chunk length": "Force 15s voice broadcast chunk length",
|
||||
"Enable new native OIDC flows (Under active development)": "Enable new native OIDC flows (Under active development)",
|
||||
"Rust cryptography implementation": "Rust cryptography implementation",
|
||||
"Font size": "Font size",
|
||||
"Use custom size": "Use custom size",
|
||||
|
|
|
@ -93,6 +93,7 @@ export enum LabGroup {
|
|||
export enum Features {
|
||||
VoiceBroadcast = "feature_voice_broadcast",
|
||||
VoiceBroadcastForceSmallChunks = "feature_voice_broadcast_force_small_chunks",
|
||||
OidcNativeFlow = "feature_oidc_native_flow",
|
||||
}
|
||||
|
||||
export const labGroupNames: Record<LabGroup, string> = {
|
||||
|
@ -445,6 +446,11 @@ export const SETTINGS: { [setting: string]: ISetting } = {
|
|||
displayName: _td("Force 15s voice broadcast chunk length"),
|
||||
default: false,
|
||||
},
|
||||
[Features.OidcNativeFlow]: {
|
||||
supportedLevels: LEVELS_FEATURE,
|
||||
displayName: _td("Enable new native OIDC flows (Under active development)"),
|
||||
default: false,
|
||||
},
|
||||
"feature_rust_crypto": {
|
||||
// use the rust matrix-sdk-crypto-js for crypto.
|
||||
isFeature: true,
|
||||
|
|
Loading…
Reference in a new issue