prehistoric-knife-48976
06/19/2023, 11:54 PM2023-06-19 19:43:02 time=2023-06-19T23:43:02Z level=warning msg=No authentication handler was responsible for handling the authentication request audience=application error=map[debug: message:Access credentials are invalid reason: status:Unauthorized status_code:401] granted=false http_host=oathkeeper:4456 http_method=POST http_url=<https://ledget.app/hooks/ory> http_user_agent=Go-http-client/2.0 reason_id=authentication_handler_no_match rule_id=ory_hook service_name=ORY Oathkeeper service_version=v0.40.3
This is wierd though because I’m certain that there is a rule defined for it. It’s defined in my rules.json:
{
"authenticators": [
{
"handler": "anonymous"
}
],
"authorizer": {
"handler": "allow"
},
"id": "ory_hook",
"match": {
"methods": [
"POST"
],
"url": "<https://ledget.app/hooks/ory>"
},
"mutators": [
{
"handler": "noop"
}
],
"upstream": {
"url": "<https://ledget.app/hooks/ory>"
},
"version": "v0.36.0-beta.4"
}
Has anyone else ran into this problem or realize any glaring issues? The rule is defined the same as other rules which work, but for some reason, this endpoint always returns a 401 unauthorized error due to the fact that it thinks there’s no rule for the endpoint.