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上配置的安全埠號。
    • provider_name 是 OAuth 提供者名稱。
  • 記號端點 URL
    https://host_name:port_number/oauth2/endpoint/provider_name/token
    其中
    • host_name 是 OAuth 服務提供者的主機名稱。
    • port_number 是在 WebSphere Application Server上配置的安全埠號。
    • provider_name 是 OAuth 提供者名稱。
  • 基於信任關聯攔截程式 (TAI) 的使用者鑑別之授權端點 URL
    https://host_name:port_number/oauth2/declaritiveEndpoint/provider_name/authorize
    其中
    • host_name 是 OAuth 服務提供者的主機名稱。
    • port_number 是在 WebSphere Application Server上配置的安全埠號。
    • provider_name 是 OAuth 提供者名稱。
    透過使用這個授權端點,適用的使用者鑑別會包含 TAI。