-
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
In the Admin Console, in the "Credentials" tab of a client using "X509 Certificate", the "Allow regex pattern comparison" toggle is always "On" on page load, even if the underlying value is false.
Version
25.0.6
Regression
[ ] The issue is a regression
Expected behavior
If the client attribute oauth2.device.authorization.grant.enabled has the value false, the toggle should be "Off" on page load.
Actual behavior
Even if the client attribute oauth2.device.authorization.grant.enabled has the value false, the toggle is still "On" on page load.
!Image
How to Reproduce?
1. Go to the Keycloak Admin Console and select a Realm
2. Click on the "Clients" menu and on "Create client"
3. Choose any "Client ID" and click on "Next"
4. Activate the toggles "Client authentication" and "Authorization" and client on "Next" and then "Save" :
!Image
5. Go to the "Credentials" tab on this newly created client
6. Select the "Client Authenticator" value "X509 Certificate"
7. Enter "TEST" as a "Subject DN" and click on "Save" (confirm with "Yes") :
!Image
8. Reload the page with "F5" :
!Image
The toggle is now (wrongly) "On"
Anything else?
No response
- links to