Erik Jan de Wit 2021-04-23 11:55:15 +02:00
parent 9395ce80a3
commit 2a02b38888
2 changed files with 7 additions and 6 deletions

View file

@ -187,11 +187,12 @@ export const CapabilityConfig = ({
label={t("serviceAccount")} label={t("serviceAccount")}
id="kc-flow-service-account" id="kc-flow-service-account"
name="serviceAccountsEnabled" name="serviceAccountsEnabled"
isChecked={value} isChecked={
onChange={onChange} value ||
isDisabled={ (clientAuthentication && clientAuthorization)
!clientAuthentication || clientAuthorization
} }
onChange={onChange}
isDisabled={clientAuthorization}
/> />
<HelpItem <HelpItem
helpText="clients-help:serviceAccount" helpText="clients-help:serviceAccount"

View file

@ -103,8 +103,8 @@
"authentication": "Authentication", "authentication": "Authentication",
"authenticationFlow": "Authentication flow", "authenticationFlow": "Authentication flow",
"standardFlow": "Standard flow", "standardFlow": "Standard flow",
"directAccess": "Direct access", "directAccess": "Direct access grants",
"serviceAccount": "Service account roles", "serviceAccount": "Service account",
"enableServiceAccount": "Enable service account roles", "enableServiceAccount": "Enable service account roles",
"assignRolesTo": "Assign roles to {{client}} account", "assignRolesTo": "Assign roles to {{client}} account",
"searchByRoleName": "Search by role name", "searchByRoleName": "Search by role name",