Skip to content

Commit 9a3f47d

Browse files
dasniko2martens
andauthored
Set directAccessGrantsEnabled default value to false (#37505)
* Set directAccessGrantsEnabled to false The Resource Owner Password Credentials Grant must not be used and should not be the default in Keycloak. Signed-off-by: Jim Martens <[email protected]> Closes #30226 * another default value... Signed-off-by: Niko Köbler <[email protected]> --------- Signed-off-by: Niko Köbler <[email protected]> Co-authored-by: Jim Martens <[email protected]>
1 parent d9e4981 commit 9a3f47d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

js/apps/admin-ui/src/clients/add/CapabilityConfig.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ export const CapabilityConfig = ({
152152
<GridItem lg={8} sm={6}>
153153
<Controller
154154
name="directAccessGrantsEnabled"
155-
defaultValue={true}
155+
defaultValue={false}
156156
control={control}
157157
render={({ field }) => (
158158
<InputGroup>

js/apps/admin-ui/src/clients/add/NewClientForm.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ export default function NewClientForm() {
6868
authorizationServicesEnabled: false,
6969
serviceAccountsEnabled: false,
7070
implicitFlowEnabled: false,
71-
directAccessGrantsEnabled: true,
71+
directAccessGrantsEnabled: false,
7272
standardFlowEnabled: true,
7373
frontchannelLogout: true,
7474
attributes: {

0 commit comments

Comments
 (0)