Skip to content

Conversation

ansd
Copy link
Member

@ansd ansd commented Sep 29, 2025

What?

Support logging (at INFO level) the reason provided by the HTTP auth backend why authentication or autorisation was denied.

Why?

  • Security and compliance often require detailed logs of why access was denied
  • Operational debugging: Operators see immediately in RabbitMQ logs why authentication/authorization failed without checking the HTTP backend logs

How?

The HTTP body returned by the HTTP auth server is allowed to be deny <Reason> where <Reason> is any text that will be logged by RabbitMQ at INFO level.

 ## What?
Support logging (at INFO level) the reason provided by the HTTP auth backend why
authentication or autorisation was denied.

 ## Why?
* Security and compliance often require detailed logs of why access was denied
* Operational debugging: Operators see immediately in RabbitMQ logs why
  authentication/authorization failed without checking the HTTP backend logs

 ## How?
The HTTP body returned by the HTTP auth server is allowed to be `deny <Reason>`
where `<Reason>` is any text that will be logged by RabbitMQ at INFO level.
@ansd ansd added this to the 4.3.0 milestone Sep 29, 2025
@ansd ansd self-assigned this Sep 29, 2025
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.

1 participant