Add AuthN using opa-envoy plugin. (Using Envoy Ext Auth ) #33
-
Hi, I’m planning to add AuthN using opa-envoy plugin. (Using Envoy Ext Auth ) Here is my setup:
From POSTMAN, when I directly POST localhost:9191/v1/data/envoy/authz with bearer token as per https://play.openpolicyagent.org/p/glYw20NVU5 the policy is evaluating correctly and returning expected results. But when I do curl Enovy http://localhost:10000/ with bearer token. It is returning 403 reason is that the policy is not getting evaluated correctly. Looking at the output log on the OPA
Questions:
Slack Discussion: https://openpolicyagent.slack.com/archives/C7Y04PF50/p1632079303030900 |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Thanks envoy-config.yaml
OPA-config.yaml
Running OPA Docker image as follows
|
Beta Was this translation helpful? Give feedback.
-
When you run the
|
Beta Was this translation helpful? Give feedback.
Thanks
Stephan Renatus
for the help. I was able to successfully set up opa-envoy plugin using V3 API.envoy-config.yaml