2016-06-07 54 views

回答

0

感謝@Gayan鏈接至該文檔。看着提到的源代碼後,我發現,刷新令牌生成可以在全球範圍內通過註釋掉本條repository\conf\identity\identity.xml

 <!-- 
     <SupportedGrantType> 
      <GrantTypeName>refresh_token</GrantTypeName> 
      <GrantTypeHandlerImplClass>org.wso2.carbon.identity.oauth2.token.handlers.grant.RefreshGrantHandler</GrantTypeHandlerImplClass> 
     </SupportedGrantType> 
     --> 
0

禁用,如果你已經配置了身份服務器API管理,必須在兩個做這個配置產品wso2_home/repository/conf/identity/identity.xml

<!-- 
    <SupportedGrantType> 
     <GrantTypeName>refresh_token</GrantTypeName> 
     <GrantTypeHandlerImplClass>org.wso2.carbon.identity.oauth2.token.handlers.grant.RefreshGrantHandler</GrantTypeHandlerImplClass> 
    </SupportedGrantType> 
    --> 
相關問題