-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
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
How to pass connection options like username and password #8
Comments
@gdegas Did you resolver this problem? thanks, I have the same problem |
@lenlch No I defaulted to using mqtt.js |
A simpler way:
By default, Tested using |
for other options (non url related) like clientId ... 'options' props should have been defined.. (just pass this prop as a second argument for MQTT.connect() )
|
am pretty sure you meant this to be like this i tried this but didn't work |
Remove the protocol on |
Hello @gdegas, I tried using these props
or
or or
Please tell me how to solve it. |
Make sure you have the curly braces...
This would never work. The component do not looks for
|
|
If it's not working still, please check on how you serve the service at |
How can I do this, all it's letting me to do is pass a string with the url of the broker to connect to but not configuration options
The text was updated successfully, but these errors were encountered: