Quantcast
Channel: HAProxy community - Latest topics
Viewing all articles
Browse latest Browse all 4714

How to set var for JSON array in JWT

$
0
0

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

Read full topic


Viewing all articles
Browse latest Browse all 4714

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>