We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 71dc2d1 commit cbd491fCopy full SHA for cbd491f
src/main/java/com/instipod/keycloakauthenticators/DenyLoginAuthenticator.java
@@ -26,6 +26,7 @@ public void authenticate(AuthenticationFlowContext authenticationFlowContext) {
26
if (authConfig!=null && authConfig.getConfig()!=null) {
27
//make sure the authenticator is configured
28
String errorMessage = authConfig.getConfig().get(DenyLoginAuthenticatorFactory.DENIAL_MESSAGE);
29
+ errorMessage = AuthenticatorUtils.variableReplace(authenticationFlowContext, errorMessage);
30
31
if (errorMessage.length() == 0) {
32
logger.error("Denial message is not configured!");
0 commit comments