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

Use of Token as Password for MQTT connection #564

Closed
amitjoy opened this issue Apr 20, 2023 · 1 comment · Fixed by #565 or #567
Closed

Use of Token as Password for MQTT connection #564

amitjoy opened this issue Apr 20, 2023 · 1 comment · Fixed by #565 or #567
Labels
enhancement New feature or request
Milestone

Comments

@amitjoy
Copy link
Owner

amitjoy commented Apr 20, 2023

Is your feature request related to a problem? Please describe.
Most of the times people don't use hardcoded MQTT password whereas people tend to use authentication tokens, that's why, we should support retrieving tokens and using them as password as well.

Describe the solution you'd like
It would be beneficial to have a extra input to the MQTT connection dialog to enter the token configuration which the application will use to retrieve token and use it as password for the communication.

Describe alternatives you've considered
Use POSTMAN to retrieve the token manually and use it

Additional context
NA

@amitjoy amitjoy added the enhancement New feature or request label Apr 20, 2023
@amitjoy amitjoy added this to the v2.4.0 milestone Apr 20, 2023
@amitjoy
Copy link
Owner Author

amitjoy commented Apr 20, 2023

For this, we would need to introduce predefined JSON formats for request and response:

Request JSON:

{
"authServerURL": "",
"clientId": "",
"clientSecret": "",
"audience": "",
"scope": "",
}

Response JSON:

{
"access_token": "",
"expires_in": 10
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
1 participant