Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
<flow name="authorize">
<http:inbound-endpoint exchange-pattern="request-response" host="localhost" port="8081" path="authorize" doc:name="HTTP"/>
<sfdc:authorize config-ref="Salesforce" display="PAGE" immediate="FALSE" prompt="CONSENT" doc:name="Salesforce" />
<objectstore:store value-ref="#[flowVars['OAuthAccessTokenId']]" config-ref="ObjectStore" key="#[inboundProperties['tenantId']]" />
<set-payload value="authorize ok" doc:name="Set Payload"/>
</flow>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment