Skip to content

Commit

Permalink
🧪 [#4863] Failing employee login test
Browse files Browse the repository at this point in the history
  • Loading branch information
robinmolen committed Dec 18, 2024
1 parent f796f25 commit 06125b4
Show file tree
Hide file tree
Showing 4 changed files with 477 additions and 1 deletion.
1 change: 1 addition & 0 deletions docker/keycloak/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ VCR.py). The primary reason this setup exists, is for automated testing reasons.
attributes from `eherkenning-bewindvoering`.
- `admin` / `admin`, intended to create as django user (can be made staff). The email address is
`[email protected]`.
- `employee` / `employee`, has the `employee_id` attribute (for org-oidc)

## Exporting the Realm

Expand Down
26 changes: 25 additions & 1 deletion docker/keycloak/import/test-realm.json
Original file line number Diff line number Diff line change
Expand Up @@ -489,6 +489,30 @@
"realmRoles" : [ "default-roles-test" ],
"notBefore" : 0,
"groups" : [ ]
}, {
"id" : "e3e3facd-af78-41d7-b1d1-f525ef03ea82",
"createdTimestamp" : 1734363590290,
"username" : "employee",
"enabled" : true,
"totp" : false,
"email" : "[email protected]",
"emailVerified" : true,
"attributes" : {
"employee_id" : [ "123" ]
},
"credentials" : [ {
"id" : "aff25c82-5012-44b5-8d87-c1bf04248b76",
"type" : "password",
"userLabel" : "My password",
"createdDate" : 1734363700751,
"secretData" : "{\"value\":\"mmnYIrLrqX4tUX89J3/O1fTsBWkAsXbR4hOyPsJw8Vk=\",\"salt\":\"Qh1bn7J8n+pneom/MLwuMQ==\",\"additionalParameters\":{}}",
"credentialData" : "{\"hashIterations\":27500,\"algorithm\":\"pbkdf2-sha256\",\"additionalParameters\":{}}"
} ],
"disableableCredentialTypes" : [ ],
"requiredActions" : [ ],
"realmRoles" : [ "default-roles-test" ],
"notBefore" : 0,
"groups" : [ "/Registreerders" ]
}, {
"id" : "a28aac19-6ac5-4ce5-bbe3-b6c24051914a",
"createdTimestamp" : 1707141299906,
Expand Down Expand Up @@ -2325,4 +2349,4 @@
"clientPolicies" : {
"policies" : [ ]
}
}
}
Loading

0 comments on commit 06125b4

Please sign in to comment.