Hi @fuchsi3010,
Did you run into any issues to see the “User Profile Enabled” switch on the KC console after enabling the declarative-user-profile flag?
So far, we have been able to set the attribute but we have had no luck seeing the “User Profile Enabled” switch to move to next step of the process you described above.
Any help would be appreciated!
hi, how are you deploying keycloak? i deploy with docker-compose, this in the whole ‘environment’ block in my docker-compose.yml:
environment:
- KEYCLOAK_ADMIN_USER=user
- KEYCLOAK_ADMIN_PASSWORD=password
- KEYCLOAK_MANAGEMENT_USER=wildflymanager
- KEYCLOAK_MANAGEMENT_PASSWORD=password
- KEYCLOAK_DATABASE_HOST=keycloakdb
# - KEYCLOAK_DATABASE_PORT=PostgreSQL port. Default: 5432.
- KEYCLOAK_DATABASE_NAME=keycloak
- KEYCLOAK_DATABASE_USER=keycloak
- KEYCLOAK_DATABASE_PASSWORD=password
- KC_FEATURES=declarative-user-profile
after starting the container i get logs with docker-compose logs | grep declarative and get the following output: keycloak | 2022-10-06 21:00:30,773 INFO [org.keycloak.common.Profile] (main) Preview feature enabled: declarative_user_profile
do you get the same output in your logs? if not, maybe the environment variable was specified wrong and the flag is not set.
Also: Are you on version 21?
Thank you so much for the reply @fuchsi3010 !
We are using Kubernetes to deploy, specifically this chart: charts/bitnami/keycloak at main · bitnami/charts · GitHub
We tried to use a similar command as the one you suggested, also using grep declarative and we did not find any match… so we are assuming that the feature flag hasn’t been activated correctly and we are reaching out to the helm chart team to see if we are missing a step or doing something incorrectly on this thread: [bitnami/keycloak] Getting --features=declarative-user-profile into the Container · Issue #16051 · bitnami/charts · GitHub
Thank you so much again for your help! you gave us a good clue on where to start looking. Let us know if you have any other suggestions to check if a feature was enabled. Your help is very much appreciated!
hi, i have no experiance with kubernetes, but on the github link you sent i found the option extraEnvVars, have you tried setting this to KC_FEATURES=declarative-user-profile?
this woulf be my best guess… all the best!
Is there any way to add multiple domains? I want to restrict the domain to two domains, not sure if this can be done