【发布时间】:2019-12-28 15:07:30
【问题描述】:
我有以下设置:
- keycloak 服务器https://auth.example.com
- 使用 LDAP 提供程序配置的 AD 连接
- LDAP 提供程序配置中设置的 Kerberos 选项
- 任何 AD 用户的身份验证都有效
- 使用 Kerberos 票证进行身份验证在浏览器中有效
据我所知,将 cURL 与 Kerberos 身份验证一起使用,它看起来类似于:
$ curl --negotiate -u : https://app.example.com/index.html
可以使用资源所有者密码凭据授予类型以非交互方式获取访问令牌。但是如何使用 cURL 与 Kerberos 票证 和 Keycloak 获得它?
【问题讨论】:
标签: authentication curl kerberos keycloak openid-connect