API Gateway OpenAPI – pass custom variables from API Gateway to REQUEST typed Lambda Authorizer
Context: I would like to know how I can pass a custom variable like roles: ["ROLE_ORDER_READ", "ROLE_ORDER_WRITE"]
from API Gateway OpenAPI to my REQUEST typed Lambda Authorizer. I don’t know if the custom variable needs to be stringified for AWS but it’s OK i can stringify if I have to.