Skip to content
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

adding user authentication #1

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

madhan5000
Copy link

I have added MQTT user authentication to the plugin

@v-i-s-h
Copy link
Owner

v-i-s-h commented Nov 8, 2016

Marking 'userName' & 'password' as required will create problem for users without an account.
If set required to false, the following error is generated:

07:10:35.094 Error: AMQJS0012E Invalid type undefined for userName.
validate()mqttws31.js:135
Client/this.connect()mqttws31.js:1707
mqttDatasourcePlugin()mqtt.paho.plugin.js:159
.newInstance()mqtt.paho.plugin.js:65
finishLoad()freeboard_plugins.js:49
f()freeboard.thirdparty.min.js:1
lt/</<()freeboard.thirdparty.min.js:1
b/<()freeboard.thirdparty.min.js:1
o()freeboard.thirdparty.min.js:1
1mqttws31.js:135:15

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants