Skip to content

OAuth2 with Azure Entra ID B2C uses a fixed global aud field, which violates RabbitMQ OAuth 2 backend assumptions #13788

Closed Answered by MarcialRosales
norbert-ka asked this question in Questions
Discussion options

You must be logged in to vote

RabbitMQ documentation clearly states that it expects the aud field to match the configured resource_server_id, in your case {Application(client) ID}. However, Azure is returning a different value as you point out. RabbitMQ cannot do much about it. You can disable validation of audience.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
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
3 participants
Converted from issue

This discussion was converted from issue #13788 on April 24, 2025 13:52.