WebUI: add support for passkey auth type and auth indicator

Add new checkbox value "Passkey" for authentication type
(user page, config page)
Add new checkbox value "Passkey" for authentication indicator
(service page, host page)
Add new fields for Passkey krbptpolicy (max life, max renew)

Related: https://pagure.io/freeipa/issue/9262
Signed-off-by: Florence Blanc-Renaud <flo@redhat.com>
Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com>
This commit is contained in:
Florence Blanc-Renaud committed 2023-06-01 08:20:37 +02:00
1 parent a7d90c1ef5
commit f8580cae4b
7 files changed
+27 -3

No files matched your search

+4
View File
@@ -140,6 +140,10 @@ return {
{
label: '@i18n:authtype.type_idp',
value: 'idp'
},
{
label: '@i18n:authtype.type_passkey',
value: 'passkey'
}
],
tooltip: {
+10
View File
@@ -179,6 +179,16 @@ return {
name: 'krbauthindmaxticketlife_idp',
acl_param: 'krbauthindmaxticketlife',
measurement_unit: 'seconds'
},
{
name: 'krbauthindmaxrenewableage_passkey',
acl_param: 'krbauthindmaxrenewableage',
measurement_unit: 'seconds'
},
{
name: 'krbauthindmaxticketlife_passkey',
acl_param: 'krbauthindmaxticketlife',
measurement_unit: 'seconds'
}
]
+2 -1
View File
@@ -113,7 +113,8 @@ return {
{ label: '@i18n:authtype.type_otp', value: 'otp' },
{ label: '@i18n:authtype.type_pkinit', value: 'pkinit' },
{ label: '@i18n:authtype.type_hardened', value: 'hardened' },
{ label: '@i18n:authtype.type_idp', value: 'idp' }
{ label: '@i18n:authtype.type_idp', value: 'idp' },
{ label: '@i18n:authtype.type_passkey', value: 'passkey' }
],
tooltip: {
title: '@i18n:authtype.config_tooltip',
+5
View File
@@ -150,7 +150,12 @@ return {
{
label: '@i18n:authtype.type_idp',
value: 'idp'
},
{
label: '@i18n:authtype.type_passkey',
value: 'passkey'
}
],
tooltip: {
title: '@mc-opt:service_add:krbprincipalauthind:doc'
+3 -1
View File
@@ -172,7 +172,9 @@ return {
{ label: '@i18n:authtype.type_otp', value: 'otp' },
{ label: '@i18n:authtype.type_pkinit', value: 'pkinit' },
{ label: '@i18n:authtype.type_hardened', value: 'hardened' },
{ label: '@i18n:authtype.type_idp', value: 'idp' }
{ label: '@i18n:authtype.type_idp', value: 'idp' },
{ label: '@i18n:authtype.type_passkey', value: 'passkey' }
],
tooltip: '@i18n:authtype.user_tooltip'
},
+2 -1
View File
@@ -241,7 +241,8 @@ return {
{ label: '@i18n:authtype.type_otp', value: 'otp' },
{ label: '@i18n:authtype.type_pkinit', value: 'pkinit' },
{ label: '@i18n:authtype.type_hardened', value: 'hardened' },
{ label: '@i18n:authtype.type_idp', value: 'idp' }
{ label: '@i18n:authtype.type_idp', value: 'idp' },
{ label: '@i18n:authtype.type_passkey', value: 'passkey' }
],
tooltip: {
title: '@i18n:authtype.user_tooltip',
+1
View File
@@ -61,6 +61,7 @@
"type_pkinit": "PKINIT",
"type_hardened": "Hardened Password (by SPAKE or FAST)",
"type_idp": "External Identity Provider",
"type_passkey": "Passkey",
"user_tooltip": "<p>Per-user setting, overwrites the global setting if any option is checked.</p><p><strong>Password + Two-factor:</strong> LDAP and Kerberos allow authentication with either one of the authentication types but Kerberos uses pre-authentication method which requires to use armor ccache.</p><p><strong>RADIUS with another type:</strong> Kerberos always use RADIUS, but LDAP never does. LDAP only recognize the password and two-factor authentication options.</p>"
},
"buttons": {