Created
October 28, 2022 05:03
-
-
Save pubudu538/a113974084a82d144128958ea8e1a39b to your computer and use it in GitHub Desktop.
WSO2 API Manager Synapse GW Token API
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <api xmlns="http://ws.apache.org/ns/synapse" name="_WSO2AMTokenAPI_" context="/token"> | |
| <resource methods="POST" url-mapping="/*" faultSequence="_token_fault_"> | |
| <inSequence> | |
| <send> | |
| <endpoint> | |
| <http uri-template="https://localhost:9443/oauth2/token"> | |
| <timeout> | |
| <duration>60000</duration> | |
| <responseAction>fault</responseAction> | |
| </timeout> | |
| </http> | |
| </endpoint> | |
| </send> | |
| </inSequence> | |
| <outSequence> | |
| <send/> | |
| </outSequence> | |
| </resource> | |
| <handlers> | |
| <handler class="org.wso2.carbon.apimgt.gateway.handlers.ext.APIManagerCacheExtensionHandler"/> | |
| <handler class="org.wso2.carbon.apimgt.gateway.handlers.common.SynapsePropertiesHandler"/> | |
| </handlers> | |
| </api> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment