Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing access logs #225

Open
baszoetekouw opened this issue Jan 17, 2025 · 1 comment
Open

Missing access logs #225

baszoetekouw opened this issue Jan 17, 2025 · 1 comment

Comments

@baszoetekouw
Copy link
Member

Please add access logs. Format tbd.

Problem now is that misbehaving users are hard to pin down. For example, the log is flooding with errors like:

 oidc.web.ErrorController:85 - Error has occurred: oidc.exceptions.UnknownCodeException: Invalid code: cDfzmtLJaxV5Ay22ufan4z6ifNSQGwVT invalid_code

but we cannot see who is sending the request

So, for each request, please add a line with the following info:

  • date
  • originating ip (from the lb)
  • ip from X-Forwarded-For header
  • http method
  • requested path including GET parameters
  • returned http status code
  • oidc-endpoint that was called
  • clientid of RP/RS

Format should be json

@oharsta
Copy link
Member

oharsta commented Jan 30, 2025

@baszoetekouw baszoetekouw marked this as a duplicate of #224 Feb 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: New
Development

No branches or pull requests

2 participants