I am setting the following def.But somehow my token is not getting forwarded.I can see the request at ingressgateway but can not see it getting forwarded to the backedn service.
Thanks for your response .I looked it into more details .I found that on applying selector all the policies gets generate in productpage proxy but it does not forward token from ingressgateway to productpage.If I remove the selector ,it works.
Having similar issue in our scenario the istio-ingressgateway is not able to forward the access token to upstream sidecar. I have applied Request Authentication with forwardOriginalToken and authorization policy to external provider on istio-ingressgateway, initial authentication is successful and also see the access token on istio-ingressgateway but it is not forwarding to upstream workload and I dont see any details on the sidecar istio-proxy logs. Can you let me know if you have resolved this issue?