Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Empty secret for imported private client #11248

Closed
H4pH opened this issue Apr 12, 2022 · 2 comments
Closed

Empty secret for imported private client #11248

H4pH opened this issue Apr 12, 2022 · 2 comments
Labels
area/oidc Indicates an issue on OIDC area kind/bug Categorizes a PR related to a bug
Milestone

Comments

@H4pH
Copy link

H4pH commented Apr 12, 2022

Describe the bug

If I've exported realm with clients and erase client-secret for confidential clients to generate new on import, secret will be empty for it after import realm.

Version

15.0.2

Expected behavior

secret is generated if null or empty

Actual behavior

secret is empty

How to Reproduce?

  1. Create confidential client for realm
  2. Export realm
  3. Erase secret for confidential client in json
  4. Import realm and check credentials tab for confidential client

Anything else?

I think that it was done in KEYCLOAK-16521
There is check on Public and set generated secret on update, but not on create

@H4pH H4pH added kind/bug Categorizes a PR related to a bug status/triage labels Apr 12, 2022
@stianst stianst added the area/oidc Indicates an issue on OIDC area label Apr 21, 2022
@mposolda mposolda changed the title Empty password for imported private client Empty secret for imported private client May 25, 2022
@mposolda mposolda added this to the 19.0.0 milestone May 25, 2022
@mposolda
Copy link
Contributor

There is related issue #11116 . This will be probably fixed together with that one - hopefully in Keycloak 19 (no promise).

@mposolda
Copy link
Contributor

This should be fixed together with #11116 and fix should be available in Keycloak 19

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/oidc Indicates an issue on OIDC area kind/bug Categorizes a PR related to a bug
Projects
None yet
Development

No branches or pull requests

3 participants