Univention Bugzilla – Bug 57452
Fix create_legacy_authentication_flow for keycloak v25
Last modified: 2024-08-14 16:48:25 CEST
With keycloak version 25 `create_legacy_authentication_flow` sometime creates the flows in the wrong order "displayName": "Univention App Authenticator", "level": 0, "index": 0, "priority": 0 "displayName": "Normal Login (browser legacy app authorization)", "level": 0, "index": 1, "priority": 0 but it should be "displayName": "Normal Login (browser legacy app authorization)", "level": 0, "index": 0, "priority": 0 "displayName": "Univention App Authenticator", "level": 0, "index": 1, "priority": 0 turns out with keycloak version 25 we can and need to set the priority for the flow we want to create for the correct order https://github.com/keycloak/keycloak/issues/20747
See https://git.knut.univention.de/univention/ucs/-/merge_requests/1227/diffs
OK: Priority parameter has been added to the create_legacy_authentication_flow function. OK: Tests in jenkins confirm that the priority always results in the correct flow order OK: YAML Verified.
<https://errata.software-univention.de/#/?erratum=5.0x1099>