Replies: 5 comments 6 replies
-
I will convert this issue to a GitHub discussion. Currently GitHub will automatically close and lock the issue even though your question will be transferred and responded to elsewhere. This is to let you know that we do not intend to ignore this but this is how the current GitHub conversion mechanism makes it seem for the users :( |
Beta Was this translation helpful? Give feedback.
-
We cannot suggest much without seeing your client code. The token must be provided in the password field. AMQP 1.0 plugin is unlikely to be particularly creative about how it extract that, and actual authentication happens outside of it. |
Beta Was this translation helpful? Give feedback.
-
The OAuth 2 plugin was tested with MQTT IIRC. We will try to reproduce with Shovel, although I can't promise any ETA. |
Beta Was this translation helpful? Give feedback.
-
suggests the operation was rejected as a genuine authentication failure. So my best guess is that the plugin makes assumptions about credentials that do not hold true in this case :/ |
Beta Was this translation helpful? Give feedback.
-
I have the same problem any solutions? |
Beta Was this translation helpful? Give feedback.
-
We are using rabbitmq (3.9.12) with oauth2 token authentication and authorization. This works fine when using an AMQP 0.9.1 client. However then using an AMQP 1.0 client (after enabling the amqp 1.0 plugin) the authentication fails. We tried both using a C# client based on AMQP.Net Lite, but also see the same failure when we simply create a shovel authenticating with an oauth2 token (works fine when the shovel is using 0.9.1, but fails when set to connect with 1.0).
Initially discussed here: https://groups.google.com/g/rabbitmq-users/c/WPGuiIDSh_Q
The rabbitmq configuration:
JWT token payload:
And finally the logging of rabbitmq (edited a bit for readability). Note the initial "authenticated successfully" followed by "Authentication using an OAuth 2/JWT token failed":
Beta Was this translation helpful? Give feedback.
All reactions