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

Importing custom user profile config won´t work #979

Open
cuberinooo opened this issue Jan 16, 2024 · 1 comment
Open

Importing custom user profile config won´t work #979

cuberinooo opened this issue Jan 16, 2024 · 1 comment
Labels

Comments

@cuberinooo
Copy link

cuberinooo commented Jan 16, 2024

Current Behavior

This is the config that I want to import:

realm: some realm
components:
      org.keycloak.userprofile.UserProfileProvider:
      - providerId: declarative-user-profile
        subComponents: {}
        config:
          kc.user.profile.config:
          - '{"attributes":[{"name":"foo","displayName":"bar","validations":{"length":{"max":255},"person-name-prohibited-characters":{}},"required":{"roles":["user"]},"permissions":{"view":["admin","user"],"edit":["admin","user"]}}'

I got no errors on importing the config. The yaml is valid.
What I get is the default settings for user profile. No "foo" attribute is added

User profile is enabled and I can see it on the UI
(btw. using this property: declarative_user_profile)

Expected Behavior

Custom Attribute "foo" (see example above) is imported.

Steps To Reproduce

No response

Environment

  • Keycloak Version: [e.g. 23.0.4]
  • keycloak-config-cli Version: [e.g. 5.10.0]

Anything else?

Btw. I use the latest Bitnami Keycloak 18.0.2 (which is keycloak 23.0.4)

EDIT: I also tried it with Bitnami Keycloak 18.1.0

@cuberinooo cuberinooo added the bug label Jan 16, 2024
@imscaradh
Copy link

Is there an update for this issue? We are currently experiencing exactly the same behavior with Keycloak 24.0.3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants