Description
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
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.
How to Reproduce?
-
Go to the Keycloak Admin Console and select a Realm
-
Click on the "Clients" menu and on "Create client"
-
Choose any "Client ID" and click on "Next"
-
Activate the toggles "Client authentication" and "Authorization" and client on "Next" and then "Save" :
-
Go to the "Credentials" tab on this newly created client
-
Select the "Client Authenticator" value "X509 Certificate"
-
Enter "TEST" as a "Subject DN" and click on "Save" (confirm with "Yes") :
The toggle is now (wrongly) "On"
Anything else?
No response