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

Skip to content

Client secret rotation UI shows wrong rotated secret #30329

@sschu

Description

@sschu

Before reporting an issue

  • I have read and understood the above terms for submitting issues, and I understand that my issue may be closed without action if I do not follow them.

Area

admin/ui

Describe the bug

When using client secret rotation, after clicking "Regenerate", the current secret does not appear as rotated secret but the previously rotated secret is shown.

Version

25.0.0

Regression

  • The issue is a regression

Expected behavior

When clicking "Regenerate", the current client secret appears as rotated client secret.

Actual behavior

When clicking "Regenerate", the initial rotated secret appears as rotated secret (but is not valid anymore). The current secret appears as rotated secret only after clicking regenerate twice. The current secret is correctly shown as rotated secret if the page is reloaded after clicking "Regenerate".

How to Reproduce?

  1. Setup client secret rotation with settings as described here: https://www.keycloak.org/docs/latest/server_admin/#_proc-secret-rotation
  2. Manually rotate secrets in the credentials tab of a client by clicking on "Regenerate"

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions