Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@edewit
Copy link
Contributor

@edewit edewit commented Nov 20, 2024

Support customer reports that keys with 'Active' set to 'off' still appear in the Active keys list in the Admin console under Realms settings -> Keys -> Keys list. The root cause was identified as the filtering logic, which does not apply status-based filtering for the first item in FILTER_OPTIONS ('ACTIVE'). This commit corrects the filtering logic to properly exclude keys based on the 'Active' status selection.

Closes #34675
backport: #34721

Signed-off-by: Charley [email protected]
(cherry picked from commit 46f7fb5)

@edewit edewit requested a review from a team as a code owner November 20, 2024 10:10
@agagancarczyk
Copy link
Contributor

@edewit please do a sign-off.

)

Support customer reports that keys with 'Active' set to 'off' still appear in the Active keys list in the Admin console under Realms settings -> Keys -> Keys list. The root cause was identified as the filtering logic, which does not apply status-based filtering for the first item in FILTER_OPTIONS ('ACTIVE'). This commit corrects the filtering logic to properly exclude keys based on the 'Active' status selection.

Closes keycloak#34675

Signed-off-by: Charley <[email protected]>
(cherry picked from commit 46f7fb5)
Signed-off-by: Erik Jan de Wit <[email protected]>
@edewit edewit force-pushed the backport-34721-26.0 branch from 4580c86 to 1d5cf76 Compare December 2, 2024 06:43
@edewit
Copy link
Contributor Author

edewit commented Dec 9, 2024

@agagancarczyk done

@ssilvert ssilvert merged commit 2ea9dee into keycloak:release/26.0 Dec 9, 2024
50 checks passed
@edewit edewit deleted the backport-34721-26.0 branch December 9, 2024 14:21
@edewit edewit mentioned this pull request Dec 11, 2024
edewit added a commit to edewit/keycloak that referenced this pull request Dec 11, 2024
) (keycloak#35133)

Support customer reports that keys with 'Active' set to 'off' still appear in the Active keys list in the Admin console under Realms settings -> Keys -> Keys list. The root cause was identified as the filtering logic, which does not apply status-based filtering for the first item in FILTER_OPTIONS ('ACTIVE'). This commit corrects the filtering logic to properly exclude keys based on the 'Active' status selection.

Closes keycloak#34675

(cherry picked from commit 46f7fb5)

Signed-off-by: Charley <[email protected]>
Signed-off-by: Erik Jan de Wit <[email protected]>
Co-authored-by: Charley <[email protected]>
Signed-off-by: Erik Jan de Wit <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants