我已经开始部署一个用户认证解决方案,该认证解决方案包括认证服务器端的Gluu和OpenID connect,以及客户端的pac4j-oidc。
我手动注册了客户端。我也把相同的凭据放到shiro配置中。然后,当我尝试登录时 - 首先我看到Gluu服务器的登录表单(如果我还没有登录),并且在查询TokenEndpoint时出现错误。
错误回复:
{"error":"invalid_client","error_description":"Client authentication failed (e.g. unknown client, no client authentication included, or unsupported authentication method). The authorization server MAY return an HTTP 401 (Unauthorized) status code to indicate which HTTP authentication schemes are supported. If the client attempted to authenticate via the Authorization request header field, the authorization server MUST respond with an HTTP 401 (Unauthorized) status code, and include the WWW-Authenticate response header field matching the authentication scheme used by the client."}
在我查看日志后,我看到了一些错误。我粘贴到了pastebin,因为里面有太多的网址(本地的,但仍然是),可以在这里发布。
请帮助我,我第二天试图解决它:(