我正在尝试使用WebSphere Liberty Profile OIDC客户端功能。我已经安装和配置了该功能,但我对我应该使用哪个URL进行连接感到困惑。在WLP知识中心,它显示了这样一个例子:WebSphere Liberty Profile OIDC客户端URL
https://server.example.com:443/oidc/endpoint/PROVIDER_NAME/authorize
但是当我WLP服务器出现,我在日志中看到以下网址:
com.ibm.ws.webcontainer.osgi.DynamicVirtualHost I addWebApplication SRVE0250I: Web Module OpenID Connect Client Redirect Servlet has been bound to default_host.
com.ibm.ws.http.internal.VirtualHostImpl A CWWKT0016I: Web application available (default_host): http://ibm669-r9v0dvb:11080/oidcclient/
我不知道是否使用'oidcclient'(可能)或'oidc'。我也不知道应该如何放置PROVIDER_NAME。我试图用我的OIDCClient的ID:
<openidConnectClient id="oidcRP"
clientId="${oauth.client.id}"
clientSecret="${oauth.client.secret}"
authorizationEndpointUrl="${oauth.authorize.endpoint}"
tokenEndpointUrl="${oauth.token.endpoint}"
httpsRequired="false"
redirectToRPHostAndPort="https://myhost.com:443">
我试图用这个连接,但它没有找到它:
http://ibm669-r9v0dvb:11080/oidcclient/endpoint/oidcRP/authorize?scope=openid&response_type=code&client_id=XXX&redirect_uri=https://myhost.com:443
com.ibm.ws.webcontainer.extension.DefaultExtensionProcessor W handleRequest SRVE0190E: File not found: /endpoint/oidcRP/authorize
谁能告诉我,我应该使用连接到客户端什么网址?
谢谢,春龙。我不想使用WLP作为提供者,我们已经有另一项服务成为提供者。但我不禁想到,我需要连接到WLP中的OIDC客户端的URL必须来自客户端中众所周知的URL路径以及我原始问题中显示的配置参数。我只需要知道我需要连接到客户端的URL。 – Westy
没关系。我现在看到WLP日志中显示的URL是重定向URI。 – Westy