Skip to content

Conversation

@tegha-romeo
Copy link
Collaborator

@tegha-romeo tegha-romeo commented Jan 22, 2026

closes #1330

  • Add defaultValue field support in user profile attributes
  • Update Keycloak dependencies to 26.0.5
  • Implement custom JSON handling to preserve defaulpreservetValue field
  • Add comprehensive test coverage for defaultValue feature
  • Create example configuration showing defaultValue usage

- Add defaultValue field support in user profile attributes
- Update Keycloak dependencies to 26.0.5
- Implement custom JSON handling to preserve defaultValue field
- Add comprehensive test coverage for defaultValue feature
- Create example configuration showing defaultValue usage

Fixes #1330

Closes: #1330
- Add version checks using VersionUtil.ge() for Keycloak 26+ compatibility
- Prevent defaultValue processing on older Keycloak versions to maintain compatibility
- Only enable defaultValue feature when keycloak.version >= 26.0.0
- Fixes CI failures with older Keycloak versions

This ensures backward compatibility with Keycloak 18.x and earlier versions
while maintaining defaultValue support for Keycloak 26+
@sonarqubecloud
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Default values for User attributes

2 participants