From e7fb0ed5944f2667cea355052f757224a25a596a Mon Sep 17 00:00:00 2001 From: Bruno Oliveira da Silva Date: Mon, 26 Nov 2018 11:11:59 -0200 Subject: [PATCH] [KEYCLOAK-8872] Keycloak 4.6.0.Final Script authenticator is missing --- server_admin/topics/authentication/flows.adoc | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/server_admin/topics/authentication/flows.adoc b/server_admin/topics/authentication/flows.adoc index d8eb7bbf9f..b7277565d8 100644 --- a/server_admin/topics/authentication/flows.adoc +++ b/server_admin/topics/authentication/flows.adoc @@ -53,7 +53,14 @@ Executions can be used .Script Authenticator A _script_ authenticator allows to define custom authentication logic via JavaScript. -Custom authenticators. Authentication scripts must at least provide one of the following functions: +Custom authenticators. In order to make use of this feature, it must be explicitly enabled: +[source] +---- +bin/standalone.sh|bat -Dkeycloak.profile.feature.scripts=enabled +---- +For more information, see the link:{installguide_profile_link}[{installguide_profile_name}] section. + +Authentication scripts must at least provide one of the following functions: `authenticate(..)` which is called from `Authenticator#authenticate(AuthenticationFlowContext)` `action(..)` which is called from `Authenticator#action(AuthenticationFlowContext)`