8000 Configuration using profiles not working with keycloak.conf · Issue #40250 · keycloak/keycloak · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Configuration using profiles not working with keycloak.conf #40250
Closed as not planned
@praczcode

Description

@praczcode

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

dist/quarkus

Describe the bug

when trying to use the dev profile, the keys in keycloak.conf file looks like "%dev.mykey=myvalue" , the new logic transforms all the keys to "kc.%dev.mykey" old logic did "%dev.kc.mykey" and the search using getValue() is now searching for "%dev.kc.mykey" . its no more possible to set dev profile values that are valid.

ProfileConfigSourceInterceptor#getProfileValue
searches for ConfigValue profileValue = context.proceed(prefixProfiles.get(i).concat(normalizeName)); -> "%dev.kc.mykey"

Version

26.2.4

Regression

  • The issue is a regression

Expected behavior

using "start-dev" , the configuration for dev profile key with prefix "%dev" should be read correctly

Actual behavior

see bug description

How to Reproduce?

see bug description

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0