louketo / louketo-proxy

A OpenID / Proxy service
Apache License 2.0
950 stars 345 forks source link

Unauthorized access is logged as error in Gatekeeper #579

Closed abstractj closed 4 years ago

abstractj commented 4 years ago

What:

If a user tries to access a resource protected by gatekeeper, without authenticating first, this is logged as an error. I don't think this should be more than an info log as it is part of normal operation, and the authentication flow is started.

Log message: 1.5440058450868576e+09 error no session found in request, redirecting for authorization {"error": "authentication session not found"}

Reference:

abstractj commented 4 years ago

Unauthorized access should be logged as errors, but nothing prevents us from revisit this idea in the future.