From deb0cb236ea36a70272d22ae4ee91ca6950bba7f Mon Sep 17 00:00:00 2001 From: Jens L Date: Tue, 14 Nov 2023 13:05:18 +0100 Subject: [PATCH] web/admin: always show oidc well-known URL fields when they're set (#7560) Signed-off-by: Jens Langhammer --- .../admin/sources/oauth/OAuthSourceForm.ts | 51 +++++------ web/xliff/de.xlf | 21 +++++ web/xliff/en.xlf | 21 +++++ web/xliff/es.xlf | 21 +++++ web/xliff/fr.xlf | 85 ++++++++++++------- web/xliff/pl.xlf | 21 +++++ web/xliff/pseudo-LOCALE.xlf | 21 +++++ web/xliff/tr.xlf | 21 +++++ web/xliff/zh-Hans.xlf | 67 ++++++++++----- web/xliff/zh-Hant.xlf | 21 +++++ web/xliff/zh_TW.xlf | 21 +++++ 11 files changed, 291 insertions(+), 80 deletions(-) diff --git a/web/src/admin/sources/oauth/OAuthSourceForm.ts b/web/src/admin/sources/oauth/OAuthSourceForm.ts index 86db82585..51b1c6e42 100644 --- a/web/src/admin/sources/oauth/OAuthSourceForm.ts +++ b/web/src/admin/sources/oauth/OAuthSourceForm.ts @@ -184,28 +184,31 @@ export class OAuthSourceForm extends ModelForm {

` : html``} - ${this.providerType.slug === ProviderTypeEnum.Openidconnect - ? html` - - -

- ${msg( - "OIDC well-known configuration URL. Can be used to automatically configure the URLs above.", - )} -

-
- + +

+ ${msg( + "OIDC well-known configuration URL. Can be used to automatically configure the URLs above.", + )} +

+
` + : html``} + ${this.providerType.slug === ProviderTypeEnum.Openidconnect || + this.providerType.oidcJwksUrl !== "" + ? html` @@ -224,7 +227,6 @@ export class OAuthSourceForm extends ModelForm { )}

- { >

${msg("Raw JWKS data.")}

-
- ` + ` : html``} `; diff --git a/web/xliff/de.xlf b/web/xliff/de.xlf index a1737f42f..fb09939a9 100644 --- a/web/xliff/de.xlf +++ b/web/xliff/de.xlf @@ -6043,6 +6043,27 @@ Bindings to groups/users are checked against the user of the event. Failed logins + + + Also known as Client ID. + + + Also known as Client Secret. + + + Global status + + + Vendor + + + No sync status. + + + Sync currently running. + + + Connectivity diff --git a/web/xliff/en.xlf b/web/xliff/en.xlf index d4849da70..539d24090 100644 --- a/web/xliff/en.xlf +++ b/web/xliff/en.xlf @@ -6324,6 +6324,27 @@ Bindings to groups/users are checked against the user of the event. Failed logins + + + Also known as Client ID. + + + Also known as Client Secret. + + + Global status + + + Vendor + + + No sync status. + + + Sync currently running. + + + Connectivity diff --git a/web/xliff/es.xlf b/web/xliff/es.xlf index 71af7be01..f5d8f4218 100644 --- a/web/xliff/es.xlf +++ b/web/xliff/es.xlf @@ -5958,6 +5958,27 @@ Bindings to groups/users are checked against the user of the event. Failed logins + + + Also known as Client ID. + + + Also known as Client Secret. + + + Global status + + + Vendor + + + No sync status. + + + Sync currently running. + + + Connectivity diff --git a/web/xliff/fr.xlf b/web/xliff/fr.xlf index b14628a21..9178e527a 100644 --- a/web/xliff/fr.xlf +++ b/web/xliff/fr.xlf @@ -1,4 +1,4 @@ - + @@ -613,9 +613,9 @@ Il y a jour(s) - The URL "" was not found. - L'URL " - " n'a pas été trouvée. + The URL "" was not found. + L'URL " + " n'a pas été trouvée. @@ -1057,8 +1057,8 @@ Il y a jour(s) - To allow any redirect URI, set this value to ".*". Be aware of the possible security implications this can have. - Pour permettre n'importe quelle URI de redirection, définissez cette valeur sur ".*". Soyez conscient des possibles implications de sécurité que cela peut avoir. + To allow any redirect URI, set this value to ".*". Be aware of the possible security implications this can have. + Pour permettre n'importe quelle URI de redirection, définissez cette valeur sur ".*". Soyez conscient des possibles implications de sécurité que cela peut avoir. @@ -1630,7 +1630,7 @@ Il y a jour(s) Token to authenticate with. Currently only bearer authentication is supported. - Jeton d'authentification à utiliser. Actuellement, seule l'authentification "bearer authentication" est prise en charge. + Jeton d'authentification à utiliser. Actuellement, seule l'authentification "bearer authentication" est prise en charge. @@ -1798,8 +1798,8 @@ Il y a jour(s) - Either input a full URL, a relative path, or use 'fa://fa-test' to use the Font Awesome icon "fa-test". - Entrez une URL complète, un chemin relatif ou utilisez 'fa://fa-test' pour utiliser l'icône Font Awesome "fa-test". + Either input a full URL, a relative path, or use 'fa://fa-test' to use the Font Awesome icon "fa-test". + Entrez une URL complète, un chemin relatif ou utilisez 'fa://fa-test' pour utiliser l'icône Font Awesome "fa-test". @@ -2922,7 +2922,7 @@ doesn't pass when either or both of the selected options are equal or above the To use SSL instead, use 'ldaps://' and disable this option. - Pour utiliser SSL à la base, utilisez "ldaps://" et désactviez cette option. + Pour utiliser SSL à la base, utilisez "ldaps://" et désactviez cette option. @@ -3011,8 +3011,8 @@ doesn't pass when either or both of the selected options are equal or above the - Field which contains members of a group. Note that if using the "memberUid" field, the value is assumed to contain a relative distinguished name. e.g. 'memberUid=some-user' instead of 'memberUid=cn=some-user,ou=groups,...' - Champ qui contient les membres d'un groupe. Si vous utilisez le champ "memberUid", la valeur est censée contenir un nom distinctif relatif, par exemple 'memberUid=un-utilisateur' au lieu de 'memberUid=cn=un-utilisateur,ou=groups,...' + Field which contains members of a group. Note that if using the "memberUid" field, the value is assumed to contain a relative distinguished name. e.g. 'memberUid=some-user' instead of 'memberUid=cn=some-user,ou=groups,...' + Champ qui contient les membres d'un groupe. Si vous utilisez le champ "memberUid", la valeur est censée contenir un nom distinctif relatif, par exemple 'memberUid=un-utilisateur' au lieu de 'memberUid=cn=un-utilisateur,ou=groups,...' @@ -3307,7 +3307,7 @@ doesn't pass when either or both of the selected options are equal or above the Time offset when temporary users should be deleted. This only applies if your IDP uses the NameID Format 'transient', and the user doesn't log out manually. - Moment où les utilisateurs temporaires doivent être supprimés. Cela ne s'applique que si votre IDP utilise le format NameID "transient" et que l'utilisateur ne se déconnecte pas manuellement. + Moment où les utilisateurs temporaires doivent être supprimés. Cela ne s'applique que si votre IDP utilise le format NameID "transient" et que l'utilisateur ne se déconnecte pas manuellement. @@ -3475,7 +3475,7 @@ doesn't pass when either or both of the selected options are equal or above the Optionally set the 'FriendlyName' value of the Assertion attribute. - Indiquer la valeur "FriendlyName" de l'attribut d'assertion (optionnel) + Indiquer la valeur "FriendlyName" de l'attribut d'assertion (optionnel) @@ -3804,8 +3804,8 @@ doesn't pass when either or both of the selected options are equal or above the - When using an external logging solution for archiving, this can be set to "minutes=5". - En cas d'utilisation d'une solution de journalisation externe pour l'archivage, cette valeur peut être fixée à "minutes=5". + When using an external logging solution for archiving, this can be set to "minutes=5". + En cas d'utilisation d'une solution de journalisation externe pour l'archivage, cette valeur peut être fixée à "minutes=5". @@ -3814,8 +3814,8 @@ doesn't pass when either or both of the selected options are equal or above the - Format: "weeks=3;days=2;hours=3,seconds=2". - Format : "weeks=3;days=2;hours=3,seconds=2". + Format: "weeks=3;days=2;hours=3,seconds=2". + Format : "weeks=3;days=2;hours=3,seconds=2". @@ -4011,10 +4011,10 @@ doesn't pass when either or both of the selected options are equal or above the - Are you sure you want to update ""? + Are you sure you want to update ""? Êtes-vous sûr de vouloir mettre à jour - " - " ? + " + " ? @@ -5100,8 +5100,8 @@ doesn't pass when either or both of the selected options are equal or above the - A "roaming" authenticator, like a YubiKey - Un authentificateur "itinérant", comme une YubiKey + A "roaming" authenticator, like a YubiKey + Un authentificateur "itinérant", comme une YubiKey @@ -5426,7 +5426,7 @@ doesn't pass when either or both of the selected options are equal or above the Show arbitrary input fields to the user, for example during enrollment. Data is saved in the flow context under the 'prompt_data' variable. - Afficher des champs de saisie arbitraires à l'utilisateur, par exemple pendant l'inscription. Les données sont enregistrées dans le contexte du flux sous la variable "prompt_data". + Afficher des champs de saisie arbitraires à l'utilisateur, par exemple pendant l'inscription. Les données sont enregistrées dans le contexte du flux sous la variable "prompt_data". @@ -5435,10 +5435,10 @@ doesn't pass when either or both of the selected options are equal or above the - ("", of type ) + ("", of type ) - (" - ", de type + (" + ", de type ) @@ -5487,8 +5487,8 @@ doesn't pass when either or both of the selected options are equal or above the - If set to a duration above 0, the user will have the option to choose to "stay signed in", which will extend their session by the time specified here. - Si défini à une durée supérieure à 0, l'utilisateur aura la possibilité de choisir de "rester connecté", ce qui prolongera sa session jusqu'à la durée spécifiée ici. + If set to a duration above 0, the user will have the option to choose to "stay signed in", which will extend their session by the time specified here. + Si défini à une durée supérieure à 0, l'utilisateur aura la possibilité de choisir de "rester connecté", ce qui prolongera sa session jusqu'à la durée spécifiée ici. @@ -6272,7 +6272,7 @@ Les liaisons avec les groupes/utilisateurs sont vérifiées par rapport à l'uti Can be in the format of 'unix://' when connecting to a local docker daemon, using 'ssh://' to connect via SSH, or 'https://:2376' when connecting to a remote system. - Peut être au format "unix://" pour une connexion à un service docker local, "ssh://" pour une connexion via SSH, ou "https://:2376" pour une connexion à un système distant. + Peut être au format "unix://" pour une connexion à un service docker local, "ssh://" pour une connexion via SSH, ou "https://:2376" pour une connexion à un système distant. @@ -7579,7 +7579,7 @@ Les liaisons avec les groupes/utilisateurs sont vérifiées par rapport à l'uti Use this provider with nginx's auth_request or traefik's forwardAuth. Each application/domain needs its own provider. Additionally, on each domain, /outpost.goauthentik.io must be routed to the outpost (when using a managed outpost, this is done for you). - Utilisez ce fournisseur avec l'option "auth_request" de Nginx ou "forwardAuth" de Traefik. Chaque application/domaine a besoin de son propre fournisseur. De plus, sur chaque domaine, "/outpost.goauthentik.io" doit être routé vers le poste avancé (lorsque vous utilisez un poste avancé géré, cela est fait pour vous). + Utilisez ce fournisseur avec l'option "auth_request" de Nginx ou "forwardAuth" de Traefik. Chaque application/domaine a besoin de son propre fournisseur. De plus, sur chaque domaine, "/outpost.goauthentik.io" doit être routé vers le poste avancé (lorsque vous utilisez un poste avancé géré, cela est fait pour vous). Default relay state @@ -7947,7 +7947,28 @@ Les liaisons avec les groupes/utilisateurs sont vérifiées par rapport à l'uti Failed logins Connexions échouées + + + Also known as Client ID. + + + Also known as Client Secret. + + + Global status + + + Vendor + + + No sync status. + + + Sync currently running. + + + Connectivity - \ No newline at end of file + diff --git a/web/xliff/pl.xlf b/web/xliff/pl.xlf index 3914d725a..208f215bd 100644 --- a/web/xliff/pl.xlf +++ b/web/xliff/pl.xlf @@ -6166,6 +6166,27 @@ Bindings to groups/users are checked against the user of the event. Failed logins + + + Also known as Client ID. + + + Also known as Client Secret. + + + Global status + + + Vendor + + + No sync status. + + + Sync currently running. + + + Connectivity diff --git a/web/xliff/pseudo-LOCALE.xlf b/web/xliff/pseudo-LOCALE.xlf index f354a57aa..7fd1524da 100644 --- a/web/xliff/pseudo-LOCALE.xlf +++ b/web/xliff/pseudo-LOCALE.xlf @@ -7854,4 +7854,25 @@ Bindings to groups/users are checked against the user of the event. Failed logins + + Also known as Client ID. + + + Also known as Client Secret. + + + Global status + + + Vendor + + + No sync status. + + + Sync currently running. + + + Connectivity + diff --git a/web/xliff/tr.xlf b/web/xliff/tr.xlf index ee64b82dd..25a00f3dc 100644 --- a/web/xliff/tr.xlf +++ b/web/xliff/tr.xlf @@ -5951,6 +5951,27 @@ Bindings to groups/users are checked against the user of the event. Failed logins + + + Also known as Client ID. + + + Also known as Client Secret. + + + Global status + + + Vendor + + + No sync status. + + + Sync currently running. + + + Connectivity diff --git a/web/xliff/zh-Hans.xlf b/web/xliff/zh-Hans.xlf index 154e9a11b..2f9f04a89 100644 --- a/web/xliff/zh-Hans.xlf +++ b/web/xliff/zh-Hans.xlf @@ -1,4 +1,4 @@ - + @@ -613,9 +613,9 @@ - The URL "" was not found. - 未找到 URL " - "。 + The URL "" was not found. + 未找到 URL " + "。 @@ -1057,8 +1057,8 @@ - To allow any redirect URI, set this value to ".*". Be aware of the possible security implications this can have. - 要允许任何重定向 URI,请将此值设置为 ".*"。请注意这可能带来的安全影响。 + To allow any redirect URI, set this value to ".*". Be aware of the possible security implications this can have. + 要允许任何重定向 URI,请将此值设置为 ".*"。请注意这可能带来的安全影响。 @@ -1799,8 +1799,8 @@ - Either input a full URL, a relative path, or use 'fa://fa-test' to use the Font Awesome icon "fa-test". - 输入完整 URL、相对路径,或者使用 'fa://fa-test' 来使用 Font Awesome 图标 "fa-test"。 + Either input a full URL, a relative path, or use 'fa://fa-test' to use the Font Awesome icon "fa-test". + 输入完整 URL、相对路径,或者使用 'fa://fa-test' 来使用 Font Awesome 图标 "fa-test"。 @@ -3013,8 +3013,8 @@ doesn't pass when either or both of the selected options are equal or above the - Field which contains members of a group. Note that if using the "memberUid" field, the value is assumed to contain a relative distinguished name. e.g. 'memberUid=some-user' instead of 'memberUid=cn=some-user,ou=groups,...' - 包含组成员的字段。请注意,如果使用 "memberUid" 字段,则假定该值包含相对可分辨名称。例如,'memberUid=some-user' 而不是 'memberUid=cn=some-user,ou=groups,...' + Field which contains members of a group. Note that if using the "memberUid" field, the value is assumed to contain a relative distinguished name. e.g. 'memberUid=some-user' instead of 'memberUid=cn=some-user,ou=groups,...' + 包含组成员的字段。请注意,如果使用 "memberUid" 字段,则假定该值包含相对可分辨名称。例如,'memberUid=some-user' 而不是 'memberUid=cn=some-user,ou=groups,...' @@ -3806,8 +3806,8 @@ doesn't pass when either or both of the selected options are equal or above the - When using an external logging solution for archiving, this can be set to "minutes=5". - 使用外部日志记录解决方案进行存档时,可以将其设置为 "minutes=5"。 + When using an external logging solution for archiving, this can be set to "minutes=5". + 使用外部日志记录解决方案进行存档时,可以将其设置为 "minutes=5"。 @@ -3816,8 +3816,8 @@ doesn't pass when either or both of the selected options are equal or above the - Format: "weeks=3;days=2;hours=3,seconds=2". - 格式:"weeks=3;days=2;hours=3,seconds=2"。 + Format: "weeks=3;days=2;hours=3,seconds=2". + 格式:"weeks=3;days=2;hours=3,seconds=2"。 @@ -4013,10 +4013,10 @@ doesn't pass when either or both of the selected options are equal or above the - Are you sure you want to update ""? + Are you sure you want to update ""? 您确定要更新 - " - " 吗? + " + " 吗? @@ -5102,7 +5102,7 @@ doesn't pass when either or both of the selected options are equal or above the - A "roaming" authenticator, like a YubiKey + A "roaming" authenticator, like a YubiKey 像 YubiKey 这样的“漫游”身份验证器 @@ -5437,10 +5437,10 @@ doesn't pass when either or both of the selected options are equal or above the - ("", of type ) + ("", of type ) - (" - ",类型为 + (" + ",类型为 @@ -5489,7 +5489,7 @@ doesn't pass when either or both of the selected options are equal or above the - If set to a duration above 0, the user will have the option to choose to "stay signed in", which will extend their session by the time specified here. + If set to a duration above 0, the user will have the option to choose to "stay signed in", which will extend their session by the time specified here. 如果设置时长大于 0,用户可以选择“保持登录”选项,这将使用户的会话延长此处设置的时间。 @@ -7949,7 +7949,28 @@ Bindings to groups/users are checked against the user of the event. Failed logins 失败登录 + + + Also known as Client ID. + + + Also known as Client Secret. + + + Global status + + + Vendor + + + No sync status. + + + Sync currently running. + + + Connectivity - \ No newline at end of file + diff --git a/web/xliff/zh-Hant.xlf b/web/xliff/zh-Hant.xlf index 08b410b7b..2da60b080 100644 --- a/web/xliff/zh-Hant.xlf +++ b/web/xliff/zh-Hant.xlf @@ -5999,6 +5999,27 @@ Bindings to groups/users are checked against the user of the event. Failed logins + + + Also known as Client ID. + + + Also known as Client Secret. + + + Global status + + + Vendor + + + No sync status. + + + Sync currently running. + + + Connectivity diff --git a/web/xliff/zh_TW.xlf b/web/xliff/zh_TW.xlf index 6a0e1905f..df86bec66 100644 --- a/web/xliff/zh_TW.xlf +++ b/web/xliff/zh_TW.xlf @@ -5998,6 +5998,27 @@ Bindings to groups/users are checked against the user of the event. Failed logins + + + Also known as Client ID. + + + Also known as Client Secret. + + + Global status + + + Vendor + + + No sync status. + + + Sync currently running. + + + Connectivity