OAuth 端点 URL
启用 OAuth 2.0 之后,在 WebSphere® Application Server 上配置了若干端点 URL,以便在访问 OAuth 保护的资源之前,OAuth 客户机可与 OAuth 服务提供程序进行通信。
为 OAuth 服务提供程序配置了下列端点 URL:
- 授权端点 URL
其中:https://<host_name>:<port_number>/oauth2/endpoint/<provider_name>/authorize
host_name 是 OAuth 服务提供程序的主机名。port_number 是 WebSphere Application Server 上配置的安全端口号。缺省安全端口号为 9443。provider_name 是 OAuth 提供程序名称。
- 令牌端点 URL
其中:https://<host_name>:<port_number>/oauth2/endpoint/<provider_name>/token
host_name 是 OAuth 服务提供程序的主机名。port_number 是 WebSphere Application Server 上配置的安全端口号。缺省安全端口号为 9443。provider_name 是 OAuth 提供程序名称。
- 基于信任关联拦截器 (TAI) 的用户认证的授权端点 URL
其中:https://<host_name>:<port_number>/oauth2/declaritiveEndpoint/<provider_name>/authorize
host_name 是 OAuth 服务提供程序的主机名。port_number 是 WebSphere Application Server 上配置的安全端口号。缺省安全端口号为 9443。provider_name 是 OAuth 提供程序名称。
使用此授权端点时,适用的用户认证包括 TAI 和 spnego。