配置自動授權

開始之前

請確定您已遵循定義 OAuth 服務提供者來啟用 OAuth 2.0 特性及配置 OAuth 服務提供者。

關於這項作業

您可以啟用 WebSphere® Application Server OAuth 服務提供者的自動授權特性,不經由資源擁有者核准即進行 OAuth 用戶端授權。

程序

如果要配置自動同意,請使用 server.xml 檔中的 <autoAuthorizeParam> 屬性及 oauthProvider 元素的 <autoAuthorizeClient> 子元素:
<oauthProvider id="OAuthConfigSample" autoAuthorizeParam="autoauthz" ...>
  ...
  <autoAuthorizeClient>client01</autoAuthorizeClient>
  <autoAuthorizeClient>client02</autoAuthorizeClient>
</oauthProvider>

結果

client01client02 OAuth 用戶端已配置自動授權。

指示主題類型的圖示 作業主題



「時間戳記」圖示 前次更新: 2016 年 11 月 30 日
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=cord&product=was-libcore-mp&topic=twlp_oauth_configautoauth
檔名:twlp_oauth_configautoauth.html