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

Improve log: add issuer to debug message #1782

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

tvdijen
Copy link
Contributor

@tvdijen tvdijen commented Jan 14, 2025

Btw, I see this log message 4 times per authentication

@baszoetekouw baszoetekouw linked an issue Feb 12, 2025 that may be closed by this pull request
@baszoetekouw
Copy link
Member

It sound like there are two separate issue here:

  • generic exceptions (and possibly warnings?) should show more context; I would prefer to come up with a more generic solution than fixing each individual exception though, if at all possible. Tracked in Include more context in log messages #1806
  • ProtocolBinding debug message is sent too often (?). @tvdijen could you perhaps open a new issue for this problem? I don't recognise this, so maybe you have some misbehaving SPs?

Copy link
Member

@baszoetekouw baszoetekouw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In principle this looks fine, but I'd like to see if we can find a more generic solution (see #1806)

@tvdijen
Copy link
Contributor Author

tvdijen commented Feb 12, 2025

  • ProtocolBinding debug message is sent too often (?). @tvdijen could you perhaps open a new issue for this problem? I don't recognise this, so maybe you have some misbehaving SPs?

I would if I were able to reproduce, but I can't seem to trigger this exception anymore.. I'm putting ProtocolBinding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect" in a SAML Request towards Engineblock, but nothing happens.. The entire code isn't even executed.

@tvdijen
Copy link
Contributor Author

tvdijen commented Feb 12, 2025

Strike that, the code is run after completing authentication at the IdP and not when the request is received.. Will open a new issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Include more context in log messages
2 participants