-
There is this guide how to set up traefik to access the oathkeeper API here: Is this possible with haproxy too? Any examples? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Should be possible, if you have a good example please share it here 👍 |
Beta Was this translation helpful? Give feedback.
-
Basically this works via a A basic script is described in the section "Verify a request with another service" of the documentation. This script can be modified like this, assuming an
The variable set there is readable by
If The lua script above could certainly be improved by using appropriate libraries for request and response handling. In this setup every single request would need to be checked by |
Beta Was this translation helpful? Give feedback.
Basically this works via a
lua
script forhaproxy
.A basic script is described in the section "Verify a request with another service" of the documentation.
This script can be modified like this, assuming an
oathkeeper
-instance listens on the default API port: