search cancel

API Gateway: Map Value vs. Set Context Variable Assertion

book

Article ID: 186920

calendar_today

Updated On:

Products

CA API Gateway API SECURITY STARTER PACK-7

Issue/Introduction

I am attempting to decode and validate a signed JWT.

When the recipient key is provided directly in a Set Context Variable assertion, the decoding and validation is successful.

When the recipient key is provided by a Map Value assertion, the decoding and validation fails.

Environment

API Gateway: 9.3

Resolution

The API Gateway does not support multi-line map values. The recommendation is to leverage context variables (which can be used in Map Values).