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")}
id="kc-flow-service-account"
name="serviceAccountsEnabled"
isChecked={value}
onChange={onChange}
isDisabled={
!clientAuthentication || clientAuthorization
isChecked={
value ||
(clientAuthentication && clientAuthorization)
}
onChange={onChange}
isDisabled={clientAuthorization}
/>
<HelpItem
helpText="clients-help:serviceAccount"

View file

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