You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to setup a kubernetes playground with Skipper as ingress contoller and authelia as auth service.
Skipper is ghcr.io/zalando/skipper:v0.21.223, Authelia ghcr.io/authelia/authelia:4.38.15
I added one annotation on the ingress: zalando.org/skipper-filter: webhook("http://auth.networking.svc.cluster.local:9091/api/authz/forward-auth")
However, when I open a protected url, authorization never happens and page just opens.
In the Authelia log I see that access is not authorized with status 302:
{"level":"info","method":"GET","msg":"Access to https://wombat.XXX.net/zb/ (method GET) is not authorized to user \u003canonymous\u003e, responding with status code 302 with location redirect to https://wombat.XXX.net/auth/?rd=https%3A%2F%2Fwombat.XXX.net%2Fzb%2F\u0026rm=GET","path":"/api/authz/forward-auth","remote_ip":"192.168.10.1","time":"2024-12-05T12:11:02+10:00"}
Hi, can you add a full set of skipper logs? And maybe the full ingress or example of of it? If feasible also maybe the routing table, you can get it with curl -v http://$SKIPPER_URL/routes?limit=$SOME_BIG_LIMIT
We don't really know ghcr.io/authelia/authelia:4.38.15 what we can do is to try and debug skipper
I think the problem is that webhook client follows redirects by default (see #3130) and then location from responding with status code 302 with location redirect to https://wombat.XXX.net/auth/?rd=https%3A%2F%2Fwombat.XXX.net%2Fzb%2F\u0026rm=GET" responds with 2xx which makes webhook pass.
I'm trying to setup a kubernetes playground with Skipper as ingress contoller and authelia as auth service.
Skipper is
ghcr.io/zalando/skipper:v0.21.223
, Autheliaghcr.io/authelia/authelia:4.38.15
I added one annotation on the ingress:
zalando.org/skipper-filter: webhook("http://auth.networking.svc.cluster.local:9091/api/authz/forward-auth")
However, when I open a protected url, authorization never happens and page just opens.
In the Authelia log I see that access is not authorized with status 302:
however Skipper acts as if it received 200:
Config is below:
The text was updated successfully, but these errors were encountered: