[GH-ISSUE #898] Add authentication to MQTT #317

Closed
opened 2026-03-16 14:40:26 +03:00 by kerem · 5 comments
Owner

Originally created by @BOZG on GitHub (May 24, 2020).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/898

Is your feature request related to a problem? Please describe.
The MQTT function works great but doesn't allow connections to MQTT servers that require authentication.

Describe the solution you'd like
The ability to use authentication with the MQTT feature.

Describe alternatives you've considered
I haven't considered any as I don't know what's needed to implement this feature!

Originally created by @BOZG on GitHub (May 24, 2020). Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/898 **Is your feature request related to a problem? Please describe.** The MQTT function works great but doesn't allow connections to MQTT servers that require authentication. **Describe the solution you'd like** The ability to use authentication with the MQTT feature. **Describe alternatives you've considered** I haven't considered any as I don't know what's needed to implement this feature!
kerem 2026-03-16 14:40:26 +03:00
  • closed this issue
  • added the
    future
    label
Author
Owner

@rahulnpadalkar commented on GitHub (May 26, 2020):

Authentication using username and password @BOZG ? Thanks!

<!-- gh-comment-id:633938062 --> @rahulnpadalkar commented on GitHub (May 26, 2020): Authentication using username and password @BOZG ? Thanks!
Author
Owner

@BOZG commented on GitHub (May 26, 2020):

Authentication using username and password @BOZG ? Thanks!

In my case I meant username and password but MQTT also allows for X509 certificate authentication and client ID authentication.

Client ID can be used as a standalone authentication method, as an additional layer to basic auth (so that username, password and client ID must match) or a simple client identifier (which I use it for).

<!-- gh-comment-id:633955576 --> @BOZG commented on GitHub (May 26, 2020): > Authentication using username and password @BOZG ? Thanks! In my case I meant username and password but MQTT also allows for X509 certificate authentication and client ID authentication. Client ID can be used as a standalone authentication method, as an additional layer to basic auth (so that username, password and client ID must match) or a simple client identifier (which I use it for).
Author
Owner

@rahulnpadalkar commented on GitHub (May 26, 2020):

Postwoman uses paho-mqtt library
Ref doc - https://www.eclipse.org/paho/files/jsdoc/Paho.MQTT.Client.html

I don't see certificate base authentication option available (Correct me if i am wrong). Any suggestions?

<!-- gh-comment-id:634087283 --> @rahulnpadalkar commented on GitHub (May 26, 2020): Postwoman uses paho-mqtt library Ref doc - https://www.eclipse.org/paho/files/jsdoc/Paho.MQTT.Client.html I don't see certificate base authentication option available (Correct me if i am wrong). Any suggestions?
Author
Owner

@BOZG commented on GitHub (May 28, 2020):

Postwoman uses paho-mqtt library
Ref doc - https://www.eclipse.org/paho/files/jsdoc/Paho.MQTT.Client.html

I don't see certificate base authentication option available (Correct me if i am wrong). Any suggestions?

Sorry for the delay in replying! Unfortunately that side of things is a little beyond me. Certificate authentication is definitely a thing though but maybe it's just not supported by Paho?

<!-- gh-comment-id:635246496 --> @BOZG commented on GitHub (May 28, 2020): > Postwoman uses paho-mqtt library > Ref doc - https://www.eclipse.org/paho/files/jsdoc/Paho.MQTT.Client.html > > I don't see certificate base authentication option available (Correct me if i am wrong). Any suggestions? Sorry for the delay in replying! Unfortunately that side of things is a little beyond me. Certificate authentication is definitely a thing though but maybe it's just not supported by Paho?
Author
Owner

@liyasthomas commented on GitHub (May 29, 2020):

Adding auth to MQTT broker isn't in roadmap. Hence closing this issue for now.

<!-- gh-comment-id:636087953 --> @liyasthomas commented on GitHub (May 29, 2020): Adding auth to MQTT broker isn't in roadmap. Hence closing this issue for now.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/hoppscotch#317
No description provided.