我如何在 wso2esb 代理 wso2 身份服务器 oauth2 api?

how can I proxy wso2 identity server oauth2 api at wso2esb?

是否可以在 wso2 esb/ei 中为身份 oauth2 令牌服务 (https://:9443/oauth2/token) 创建直通代理?

您可以在 EI/ESB 中创建直通代理,如下所示

<?xml version="1.0" encoding="UTF-8"?>
<proxy xmlns="http://ws.apache.org/ns/synapse" name="token" startOnLoad="true" transports="http https">
   <target>
      <inSequence>
         <endpoint>
            <address uri="https://:9443/oauth2/token" />
         </endpoint>
      </inSequence>
      <outSequence>
         <send />
      </outSequence>
      <faultSequence />
   </target>
</proxy>