Keycloak:脚本身份验证器丢失了吗? [英] Keycloak: Script Authenticator missing?

查看:166
本文介绍了Keycloak:脚本身份验证器丢失了吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

到目前为止,在我们的系统中,我们一直在使用Keycloak 3.4.3和Script Authenticator身份验证提供程序功能作为基于浏览器的身份验证的一部分.现在,升级到Keycloak 4.6.0.Final 后,我们注意到Script Authenticator的选项已从列表中消失.

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.

此功能在Keycloak 4.5.0.Final中仍然存在.由于Keycloak 4.6.0.Final中已修复的功能,我们无法选择使用4.5.0.

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.

我们使用了Script Authenticator功能,根据LDAP属性将用户白名单".现在,由于删除了脚本选项,我们不再能够使用Keycloak.

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.

有什么想法为什么要删除脚本身份验证器?还是它已被移到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.

推荐答案

您可以通过以下方式启动服务器来启用此功能:

You can enable this feature by start the server with:

-Dkeycloak.profile.feature.scripts=enabled

,或者您可以通过添加以下内容在profile.properties文件(在配置文件夹中)中进行永久设置:

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

feature.scripts=enabled 

这篇关于Keycloak:脚本身份验证器丢失了吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆