mirror of
https://repository.entgra.net/community/community-product.git
synced 2025-09-16 23:42:18 +00:00
fixed bug in token call
This commit is contained in:
parent
6722f4059f
commit
3ef50dd8dd
@ -1,8 +1,8 @@
|
||||
<api xmlns="http://ws.apache.org/ns/synapse" name="_WSO2AMTokenAPI_" context="/token">
|
||||
<resource methods="POST" url-mapping="/*" faultSequence="_token_fault_">
|
||||
<inSequence>
|
||||
<property name="uri.var.portnum" expression="get-property('system','iot.keymanager.https.port')"/>
|
||||
<property name="uri.var.hostname" expression="get-property('system','iot.keymanager.host')"/>
|
||||
<property name="uri.var.portnum" expression="get-property('system','iot.core.https.port')"/>
|
||||
<property name="uri.var.hostname" expression="get-property('system','iot.core.host')"/>
|
||||
<filter source="$body//scope" regex="PRODUCTION">
|
||||
<then>
|
||||
<payloadFactory media-type="xml">
|
||||
|
||||
Loading…
Reference in New Issue
Block a user