-
Bug
-
Resolution: Done
-
Undefined
-
None
-
False
-
-
False
-
-
Before reporting an issue
[X] 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
For "actionTokenGeneratedByUserLifespan", a hyphen is used in the admin console instead of a dot (.)
The backend expects a dot:
https://github.com/keycloak/keycloak/blob/23.0.3/model/jpa/src/main/java/org/keycloak/models/jpa/RealmAdapter.java#L592
https://github.com/keycloak/keycloak/blob/23.0.3/model/jpa/src/main/java/org/keycloak/models/jpa/RealmAdapter.java#L631
but the admin ui uses a hyphen:
https://github.com/keycloak/keycloak/blob/23.0.3/js/apps/admin-ui/src/realm-settings/TokensTab.tsx#L476
https://github.com/keycloak/keycloak/blob/23.0.3/js/apps/admin-ui/src/realm-settings/TokensTab.tsx#L476
https://github.com/keycloak/keycloak/blob/23.0.3/js/apps/admin-ui/src/realm-settings/TokensTab.tsx#L516
https://github.com/keycloak/keycloak/blob/23.0.3/js/apps/admin-ui/src/realm-settings/TokensTab.tsx#L536
Version
23.0.3
Expected behavior
front end uses dot as a separator
Actual behavior
front end uses hyphen as a separator
How to Reproduce?
set a user action token lifespan override and test it
note: I did not test this, just noticed this while working on something else related to realm attributes
Anything else?
No response
- links to