Skip to content

OAuth 2: Variable expansion not working for write permissions #14166

Closed Answered by inseroaj
inseroaj asked this question in Other
Discussion options

You must be logged in to vote

Just realized what you meant by there being no such thing as "publishing to a queue", and deleted my previous comment.
Obviously you were not talking about the management UI, but the fact that in the end, you always publish to an exchange.

Using the management UI's Publish message will attempt to publish a message to the amq.default exchange, and fail, since it doesn't match the write permission resource pattern */q-{name}.
Creating an exchange named q-test, and binding the similarly named queue to that exchange makes it work.

Sorry for the confusion, and thanks for your time.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@michaelklishin
Comment options

Answer selected by michaelklishin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #14166 on June 30, 2025 09:49.