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

More context in OIDC logs #7428

Open
anderius opened this issue Feb 28, 2025 · 1 comment
Open

More context in OIDC logs #7428

anderius opened this issue Feb 28, 2025 · 1 comment
Labels
needs triage An issue that needs to be triaged proposal An issue that proposes a feature request

Comments

@anderius
Copy link

Is your feature request related to a problem? Please describe.

The problem is log messages like this:

2024/12/11  13:44:54 [error] 86#86: *3762 js: OIDC ID Token validation error: nonce
 from token (3-wSxtTGFsip_PQNftt4S5ty-vHIkiG0PsfdMEqyu11ds) does not match
 client () 

Describe the solution you'd like

It would be nice if at least the name of the VirtualServer object, or URL, was included. It would also be nice if this logging was configurable, in JSON format. Missing context is the most required feature, though.

It would be nice if the context was not limited to the OIDC module, but was added for all modules/components. For example the JWT policy.

Describe alternatives you've considered

None, very open to suggestions.

Additional context

Using Nginx Ingress Controller 4.0.1 (the example is a bit older, though).

@anderius anderius added the proposal An issue that proposes a feature request label Feb 28, 2025
Copy link

Hi @anderius thanks for reporting!

Be sure to check out the docs and the Contributing Guidelines while you wait for a human to take a look at this 🙂

Cheers!

@shaun-nx shaun-nx added the needs triage An issue that needs to be triaged label Mar 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs triage An issue that needs to be triaged proposal An issue that proposes a feature request
Projects
None yet
Development

No branches or pull requests

2 participants