configure feature_oidc_native_flow as a feature setting, update copy (#11773)

This commit is contained in:
Kerry 2023-10-19 19:00:29 +13:00 committed by GitHub
parent 3902ce9c40
commit 5056c12b38
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 1 deletions

View file

@ -1427,7 +1427,8 @@
"notification_settings_beta_caption": "Introducing a simpler way to change your notification settings. Customize your %(brand)s, just the way you like.", "notification_settings_beta_caption": "Introducing a simpler way to change your notification settings. Customize your %(brand)s, just the way you like.",
"notification_settings_beta_title": "Notification Settings", "notification_settings_beta_title": "Notification Settings",
"notifications": "Enable the notifications panel in the room header", "notifications": "Enable the notifications panel in the room header",
"oidc_native_flow": "Enable new native OIDC flows (Under active development)", "oidc_native_flow": "OIDC native authentication",
"oidc_native_flow_description": "⚠ WARNING: Experimental. Use OIDC native authentication when supported by the server.",
"pinning": "Message Pinning", "pinning": "Message Pinning",
"render_reaction_images": "Render custom images in reactions", "render_reaction_images": "Render custom images in reactions",
"render_reaction_images_description": "Sometimes referred to as \"custom emojis\".", "render_reaction_images_description": "Sometimes referred to as \"custom emojis\".",

View file

@ -444,8 +444,11 @@ export const SETTINGS: { [setting: string]: ISetting } = {
default: false, default: false,
}, },
[Features.OidcNativeFlow]: { [Features.OidcNativeFlow]: {
isFeature: true,
labsGroup: LabGroup.Developer,
supportedLevels: LEVELS_FEATURE, supportedLevels: LEVELS_FEATURE,
displayName: _td("labs|oidc_native_flow"), displayName: _td("labs|oidc_native_flow"),
description: _td("labs|oidc_native_flow_description"),
default: false, default: false,
}, },
"feature_rust_crypto": { "feature_rust_crypto": {