Skip to content

Example in 'Passing a Custom Authorization Token to the Backend' Section is not working #11155

@manodyaSenevirathne

Description

@manodyaSenevirathne

Description

$ Subject

Should be corrected as follows

<sequence xmlns="http://ws.apache.org/ns/synapse" name="TokenExchange">
    <property name="CustomValue" expression="get-property('transport', 'Custom')"/>    
    <property name="Authorization" expression="get-property('CustomValue')" scope="transport"/>  
    <property name="Custom" scope="transport" action="remove"/>
</sequence>

Also the given example endpoint is not working

Steps to Reproduce

Version

4.7.0-beta

Environment Details (with versions)

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions