Resolve realm display name localization placeholders in TOTP issuer name#48700
Resolve realm display name localization placeholders in TOTP issuer name#48700mabagoury wants to merge 1 commit intokeycloak:mainfrom
Conversation
c27aa78 to
4f0f206
Compare
|
I kept issuer resolution in
These dependencies belong to the service layer rather than the SPI layer. As a result, Additionally, |
Unreported flaky test detectedIf the flaky tests below are affected by the changes, please review and update the changes accordingly. Otherwise, a maintainer should report the flaky tests prior to merging the PR. org.keycloak.testsuite.forms.BruteForceTest#testNoFailureResetForPermanentLockout |
Resolve the realm display name before it is used as the issuer name when configuring TOTP credentials. This allows values that use localization placeholder syntax (e.g., ${realm.displayName}) to be resolved using the LOGIN theme messages and the user’s resolved locale, so authenticator applications show the localized display name instead of the raw placeholder.
Fixes keycloak#48680
Signed-off-by: Mohammed Elbagoury <m.a.bagoury@gmail.com>
4f0f206 to
a3a19f4
Compare
Resolve the realm display name before it is used as the issuer name when configuring TOTP credentials. This allows values that use localization placeholder syntax (e.g., ${realm.displayName}) to be resolved using the LOGIN theme messages and the user’s resolved locale, so authenticator applications show the localized display name instead of the raw placeholder.
Fixes #48680