Skip to content

Commit 842f5ff

Browse files
feat: Add three missing Keycloak 26.x WebAuthn realm fields: (#628)
1 parent f2b0700 commit 842f5ff

6 files changed

Lines changed: 44 additions & 0 deletions

File tree

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,11 +73,14 @@ spec:
7373
webAuthnPolicyAuthenticatorAttachment: not specified
7474
webAuthnPolicyAvoidSameAuthenticatorRegister: false
7575
webAuthnPolicyCreateTimeout: 0
76+
webAuthnPolicyExtraOrigins: []
7677
webAuthnPolicyPasswordlessAcceptableAaguids: []
7778
webAuthnPolicyPasswordlessAttestationConveyancePreference: not specified
7879
webAuthnPolicyPasswordlessAuthenticatorAttachment: not specified
7980
webAuthnPolicyPasswordlessAvoidSameAuthenticatorRegister: false
8081
webAuthnPolicyPasswordlessCreateTimeout: 0
82+
webAuthnPolicyPasswordlessExtraOrigins: []
83+
webAuthnPolicyPasswordlessPasskeysEnabled: false
8184
webAuthnPolicyPasswordlessRequireResidentKey: not specified
8285
webAuthnPolicyPasswordlessRpId: ""
8386
webAuthnPolicyPasswordlessSignatureAlgorithms:

api/v1beta1/keycloakrealm_types.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -466,11 +466,14 @@ type KeycloakAPIRealm struct {
466466
WebAuthnPolicyAuthenticatorAttachment string `json:"webAuthnPolicyAuthenticatorAttachment,omitempty"`
467467
WebAuthnPolicyAvoidSameAuthenticatorRegister *bool `json:"webAuthnPolicyAvoidSameAuthenticatorRegister,omitempty"`
468468
WebAuthnPolicyCreateTimeout int32 `json:"webAuthnPolicyCreateTimeout,omitempty"`
469+
WebAuthnPolicyExtraOrigins []string `json:"webAuthnPolicyExtraOrigins,omitempty"`
469470
WebAuthnPolicyPasswordlessAcceptableAaguids []string `json:"webAuthnPolicyPasswordlessAcceptableAaguids,omitempty"`
470471
WebAuthnPolicyPasswordlessAttestationConveyancePreference string `json:"webAuthnPolicyPasswordlessAttestationConveyancePreference,omitempty"`
471472
WebAuthnPolicyPasswordlessAuthenticatorAttachment string `json:"webAuthnPolicyPasswordlessAuthenticatorAttachment,omitempty"`
472473
WebAuthnPolicyPasswordlessAvoidSameAuthenticatorRegister *bool `json:"webAuthnPolicyPasswordlessAvoidSameAuthenticatorRegister,omitempty"`
473474
WebAuthnPolicyPasswordlessCreateTimeout int32 `json:"webAuthnPolicyPasswordlessCreateTimeout,omitempty"`
475+
WebAuthnPolicyPasswordlessExtraOrigins []string `json:"webAuthnPolicyPasswordlessExtraOrigins,omitempty"`
476+
WebAuthnPolicyPasswordlessPasskeysEnabled *bool `json:"webAuthnPolicyPasswordlessPasskeysEnabled,omitempty"`
474477
WebAuthnPolicyPasswordlessRequireResidentKey string `json:"webAuthnPolicyPasswordlessRequireResidentKey,omitempty"`
475478
WebAuthnPolicyPasswordlessRpEntityName string `json:"webAuthnPolicyPasswordlessRpEntityName,omitempty"`
476479
WebAuthnPolicyPasswordlessRpId string `json:"webAuthnPolicyPasswordlessRpId,omitempty"`

api/v1beta1/zz_generated.deepcopy.go

Lines changed: 15 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

chart/keycloak-controller/crds/keycloak.infra.doodle.com_keycloakrealms.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1521,6 +1521,10 @@ spec:
15211521
webAuthnPolicyCreateTimeout:
15221522
format: int32
15231523
type: integer
1524+
webAuthnPolicyExtraOrigins:
1525+
items:
1526+
type: string
1527+
type: array
15241528
webAuthnPolicyPasswordlessAcceptableAaguids:
15251529
items:
15261530
type: string
@@ -1534,6 +1538,12 @@ spec:
15341538
webAuthnPolicyPasswordlessCreateTimeout:
15351539
format: int32
15361540
type: integer
1541+
webAuthnPolicyPasswordlessExtraOrigins:
1542+
items:
1543+
type: string
1544+
type: array
1545+
webAuthnPolicyPasswordlessPasskeysEnabled:
1546+
type: boolean
15371547
webAuthnPolicyPasswordlessRequireResidentKey:
15381548
type: string
15391549
webAuthnPolicyPasswordlessRpEntityName:

config/base/crd/bases/keycloak.infra.doodle.com_keycloakrealms.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1521,6 +1521,10 @@ spec:
15211521
webAuthnPolicyCreateTimeout:
15221522
format: int32
15231523
type: integer
1524+
webAuthnPolicyExtraOrigins:
1525+
items:
1526+
type: string
1527+
type: array
15241528
webAuthnPolicyPasswordlessAcceptableAaguids:
15251529
items:
15261530
type: string
@@ -1534,6 +1538,12 @@ spec:
15341538
webAuthnPolicyPasswordlessCreateTimeout:
15351539
format: int32
15361540
type: integer
1541+
webAuthnPolicyPasswordlessExtraOrigins:
1542+
items:
1543+
type: string
1544+
type: array
1545+
webAuthnPolicyPasswordlessPasskeysEnabled:
1546+
type: boolean
15371547
webAuthnPolicyPasswordlessRequireResidentKey:
15381548
type: string
15391549
webAuthnPolicyPasswordlessRpEntityName:

config/tests/base/keycloakrealm.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,14 @@ spec:
3737
webAuthnPolicyAuthenticatorAttachment: not specified
3838
webAuthnPolicyAvoidSameAuthenticatorRegister: false
3939
webAuthnPolicyCreateTimeout: 0
40+
webAuthnPolicyExtraOrigins: []
4041
webAuthnPolicyPasswordlessAcceptableAaguids: []
4142
webAuthnPolicyPasswordlessAttestationConveyancePreference: not specified
4243
webAuthnPolicyPasswordlessAuthenticatorAttachment: not specified
4344
webAuthnPolicyPasswordlessAvoidSameAuthenticatorRegister: false
4445
webAuthnPolicyPasswordlessCreateTimeout: 0
46+
webAuthnPolicyPasswordlessExtraOrigins: []
47+
webAuthnPolicyPasswordlessPasskeysEnabled: false
4548
webAuthnPolicyPasswordlessRequireResidentKey: not specified
4649
webAuthnPolicyPasswordlessRpId: ""
4750
webAuthnPolicyPasswordlessSignatureAlgorithms:

0 commit comments

Comments
 (0)