-
Notifications
You must be signed in to change notification settings - Fork 4k
Closed
Description
Describe the bug
The MQTT Plugin documentation states:
RabbitMQ supports most MQTT 5.0 features, including the following:
TLS, OAuth 2.0
However, it seems an important part of the standard is missing—Re-authentication.
Currently, if I send an AUTH packet with a new token on existing connection, I receive an extended_authentication_unsupported error. (source)
I believe this is an essential part of the standard that should be implemented, as it is for AMQP-0-9-1 connections.
For reference, here is the description of the same feature implemented in Azure Event Grid: Authentication using Microsoft Entra JWT.
Reproduction steps
- Initialize the MQTT5 connection using the
CONNECTmethod, passing theJWT tokenin the password field. - Send an
AUTHpacket with reason code25 (re-authenticate)and the renewedJWT token.
An error occurs: extended_authentication_unsupported.
Expected behavior
JWT-token of the connection is updated
Additional context
No response
NickSerg
Metadata
Metadata
Assignees
Labels
No labels