Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Compare variables 2 different policies apigee

I want to compare 2 variables before allowing to the Target endpoint

First variable example - I read the context variable from the Generate oauth token and retrieving it on the VerifyToken

Another variable is generate by the javascript and I want to compare these 2 values and if success want to send it across to the target endpoint.

Failure should return an error code with valid message.

I tried this on the preflow variable of the target endpoint and doesn’t populate the actual values on trace.

0 2 356
2 REPLIES 2