I would like to verify the JWT token which is stored in the cookies in Express Gateway. I tried the below configuration of gateway.config.yml but it is not working.
Is it possible to do this in Express Gateway?
HTTP Request
Cookie: culture=EN-US; jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiI1ZGU5ZmZiMjFmNThhODIxYjhhOWFhZGEiLCJyb2xlcyI6W10sImlhdCI6MTU3NTk3MDM0OSwiZXhwIjozNzIzNDUzOTk2fQ.TEgRSc9V6a6UA-7ppx54xu8kGWfQ1SOq9s3JQQnqEWk
- jwt:
- action:
secretOrPublicKey: 'xxxxxxxx'
checkCredentialExistence: false
jwtExtractor: header
jwtExtractorField: Cookie['jwt']