straight-sunset-58721
03/24/2023, 1:07 AM{
"id": "allow-cookie-authn",
"version": "v0.40.1",
"upstream": {
"url": "<https://httpbin.org/anything/header>",
"strip_path": "/portal-builds"
},
"match": {
"url": "https://<.*>/portal-builds/<.*>",
"methods": [
"GET"
]
},
"authenticators": [
{
"handler": "cookie_session",
"config": {}
}
],
"authorizer": {
"handler": "allow"
},
"mutators": [
{
"handler": "noop"
}
]
},
… and the cookie_session authenticator is defined as:
cookie_session:
enabled: true
config:
check_session_url: <https://kratos-public/sessions/whoami>
forward_http_headers: []
I think this worked exactly once, but I couldn’t reproduce it. All I get now are 502
/ 504
intermittently after restarting the pod, or 403
Access credentials are not sufficient to access this resource
.
Edit: Resolved