Keycloak 在没有经过身份验证的情况下停用 Kerberos 身份验证
Keycloak deactivate Kerberos auth without been auth
我正在尝试使用 Keycloak 以成功使用 Kerberos 进行登录配置。 (这是一个很大的失败)
我犯了一个错误,即 Kerberos:必需。
换句话说,我打开了 Authentication > Select Browser > Requirement : 在 Kerberos
上需要
所以我无法再连接了,我在登录“http://localhost:8080/auth”时收到“无效的用户名或密码”
是否有人遇到过不删除并重新配置服务器即可解决此问题的问题?
找到了对我有很大帮助的东西。我解决了我的问题,我会解释如何
我在 bin 目录中使用过:kcadmin.bat(或 .sh)
在 CMD 中打开
使用 kcadmin 登录
kcadm.bat config credentials --server http://localhost:8080/auth --realm master --user admin
接下来,我获取更新流(master)所需的 ID :
kcadmin.bat get authentication/flows/{FLOW}/executions
接下来,我放入一个 JSON 文件 {"id":"ID_of_my_flow", "requirement":"ALTERNATIVE"}
保存我的文件并最终写入
kcadmin.bat update authentication/flows/master/executions -r REALM -f myfile.json
谢谢。
我正在尝试使用 Keycloak 以成功使用 Kerberos 进行登录配置。 (这是一个很大的失败) 我犯了一个错误,即 Kerberos:必需。
换句话说,我打开了 Authentication > Select Browser > Requirement : 在 Kerberos
上需要所以我无法再连接了,我在登录“http://localhost:8080/auth”时收到“无效的用户名或密码”
是否有人遇到过不删除并重新配置服务器即可解决此问题的问题?
找到了对我有很大帮助的东西。我解决了我的问题,我会解释如何
我在 bin 目录中使用过:kcadmin.bat(或 .sh) 在 CMD 中打开
使用 kcadmin 登录
kcadm.bat config credentials --server http://localhost:8080/auth --realm master --user admin
接下来,我获取更新流(master)所需的 ID :
kcadmin.bat get authentication/flows/{FLOW}/executions
接下来,我放入一个 JSON 文件 {"id":"ID_of_my_flow", "requirement":"ALTERNATIVE"}
保存我的文件并最终写入
kcadmin.bat update authentication/flows/master/executions -r REALM -f myfile.json
谢谢。