We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hello and good evening.
I am following the suggested documentation for using Keycloak with rabbitmq. However I always get the following access denied error:
(530) "NOT_ALLOWED - access to vhost '/' refused for user '05c4b0ae-9c07-4ab6-b3a1-c1e9e5e36759'"
I believe the keycloak scopes (even though they are present in the JWT) are not visible on rabbit as seen here.
rabbitmq-1 | 2025-02-21 13:59:04.992226+00:00 [debug] <0.699.0> Computing username from client's JWT token: [<<"05c4b0ae-9c07-4ab6-b3a1-c1e9e5e36759">>] -> 05c4b0ae-9c07-4ab6-b3a1-c1e9e5e36759 rabbitmq-1 | 2025-02-21 13:59:04.992305+00:00 [debug] <0.699.0> User '05c4b0ae-9c07-4ab6-b3a1-c1e9e5e36759' authenticated successfully by backend rabbit_auth_backend_oauth2 rabbitmq-1 | 2025-02-21 13:59:04.994004+00:00 [debug] <0.699.0> Matching virtual host '/' against the following scopes: rabbitmq-1 | 2025-02-21 13:59:04.994058+00:00 [error] <0.699.0> Error on AMQP connection <0.699.0> (192.168.48.1:39816 -> 192.168.48.2:5672, user: '05c4b0ae-9c07-4ab6-b3a1-c1e9e5e36759', state: opening): rabbitmq-1 | 2025-02-21 13:59:04.994058+00:00 [error] <0.699.0> access to vhost '/' refused for user '05c4b0ae-9c07-4ab6-b3a1-c1e9e5e36759'
Decoded token field (after authenticating with keycloak) looks like:
"scope": "email rabbitmq.read:*/* rabbitmq.configure:*/* rabbitmq.write:*/* profile",
I am using files from this example.
What am I missing?
Thanks in advance!
Client should be able to access vhost.
No response
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hello and good evening.
I am following the suggested documentation for using Keycloak with rabbitmq. However I always get the following access denied error:
I believe the keycloak scopes (even though they are present in the JWT) are not visible on rabbit as seen here.
Decoded token field (after authenticating with keycloak) looks like:
I am using files from this example.
What am I missing?
Thanks in advance!
Reproduction steps
...
Expected behavior
Client should be able to access vhost.
Additional context
No response
The text was updated successfully, but these errors were encountered: