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

时间:2017-08-03 09:37:46

标签: wso2esb wso2is wso2ei

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

1 个答案:

答案 0 :(得分:1)

You can create a passthrough proxy in EI/ESB like below

<?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>