fixed bug in token call

temp
Amalka Subasinghe 3 years ago
parent 6722f4059f
commit 3ef50dd8dd

@ -1,8 +1,8 @@
<api xmlns="http://ws.apache.org/ns/synapse" name="_WSO2AMTokenAPI_" context="/token"> <api xmlns="http://ws.apache.org/ns/synapse" name="_WSO2AMTokenAPI_" context="/token">
<resource methods="POST" url-mapping="/*" faultSequence="_token_fault_"> <resource methods="POST" url-mapping="/*" faultSequence="_token_fault_">
<inSequence> <inSequence>
<property name="uri.var.portnum" expression="get-property('system','iot.keymanager.https.port')"/> <property name="uri.var.portnum" expression="get-property('system','iot.core.https.port')"/>
<property name="uri.var.hostname" expression="get-property('system','iot.keymanager.host')"/> <property name="uri.var.hostname" expression="get-property('system','iot.core.host')"/>
<filter source="$body//scope" regex="PRODUCTION"> <filter source="$body//scope" regex="PRODUCTION">
<then> <then>
<payloadFactory media-type="xml"> <payloadFactory media-type="xml">

Loading…
Cancel
Save