8000 Client Credentials tab : "Allow regex pattern comparison" toggle is always "On" on page load · Issue #38873 · keycloak/keycloak · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Client Credentials tab : "Allow regex pattern comparison" toggle is always "On" on page load #38873
Closed
@loic-brtd

Description

@loic-brtd

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.
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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0