Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Keycloak: Script Authenticator missing?

In our system we have so far been using Keycloak 3.4.3 and the Script Authenticator authentication provider functionality as part of the browser based authentication. Now, after upgrading to Keycloak 4.6.0.Final, we noticed that the option for Script Authenticator has disappeared from the list.

This functionality was still there in Keycloak 4.5.0.Final. Due to functionality that's been fixed in Keycloak 4.6.0.Final, we don't have the option to use 4.5.0.

We used the Script Authenticator -functionality to "whitelist" our users based on LDAP attributes. Now since the script option was removed, we're no longer able to use Keycloak.

Any ideas why the Script Authenticator has been removed? Or could it be that it has been moved to another place within the Keycloak admin console?

Just to add some details:

  • There has not been any mention about removing this functionality in the Keycloak release notes
  • Script authenticator is still mentioned in the Keycloak documentation for Keycloak 4.6.0
  • There is also now an issue reported for this in Keycloak issue tracker KEYCLOAK-8872.
like image 658
Esa S Avatar asked Nov 30 '22 14:11

Esa S


1 Answers

You can enable this feature by start the server with:

-Dkeycloak.profile.feature.scripts=enabled

or you can set this permanently in the profile.properties file (in configuration folder) by adding:

feature.scripts=enabled 
like image 190
user10679654 Avatar answered Dec 04 '22 10:12

user10679654