I have configured the verify JWT policy below
<VerifyJWT name="VerifyJWT" continueOnError="true"> <IgnoreUnresolvedVariables>false</IgnoreUnresolvedVariables> <Algorithm>PS256</Algorithm> <Source>request.content</Source> <PublicKey> <JWKS ref="register.jwks"/> </PublicKey> </VerifyJWT>
The value of kid in the header of JWT is present in the provided jwks. But still I am getting
Provided Key Id did not match any Public Key
I am getting the JWKS using a service callout and assigning the response to this variable register.jwks
Could someone help me out on this? Am I missing anything?