配置自動授權
開始之前
關於這項作業
程序
如果要配置自動同意,請在 server.xml 檔中使用
autoAuthorizeParam 屬性和 <oauthProvider> 元素的 <autoAuthorizeClient> 子元素:<oauthProvider id="OAuthConfigSample" autoAuthorizeParam="autoauthz" ...>
...
<autoAuthorizeClient>client01</autoAuthorizeClient>
<autoAuthorizeClient>client02</autoAuthorizeClient>
</oauthProvider>結果
client01 和 client02 OAuth 用戶端已配置自動授權。