JWT plugin and key lookup using the token's kid value

I am using Kong Ingress’s JWT plugin. It is working fine using the instruction given in Configuring ACL Plugin - v1.2.x | Kong - Open-Source API Management and Microservice Management
which chooses the key by matching the token’s iss value against the secret’s key value.
But I would like to use the token’s kid value to find the key. Is there any way to install the public key secret with its kid value or more preferably, use a JWK-set installed as secret to verifying public key?

thanks, aki


© 2019 Kong Inc.    Terms  •  Privacy  •  FAQ