I am using this HAproxy doc link Verify OAuth JWT Tokens with HAProxy - HAProxy Technologies to configure my API authentication.
But. I cannot set var for this JSON array in the JWT to get “api” in the Haproxu configuration.
“resource_access”: {
“clientid”: {
“roles”: [
“api”
]
}
I have tried this http-request set-var(txn.jwt_roles) jwt(payload, resource_access.azuread.roles) but it is not working as expected
1 post - 1 participant