Skip to content

Username and Password are not included in Subscribe, Publish, Receive #13

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

Open
woodyjon opened this issue Jun 18, 2020 · 3 comments
Open

Comments

@woodyjon
Copy link

Hello.
Thank you for this tool.

Is it normal the the username and password are not included in the api validation calls for the /subscribe, /publish, /receive. It is included in the /connect, though.

Here: https://github.com/Axway-API-Management-Plus/mqtt-proxy/blob/master/AUTH_API.md, you seem to suggest that those should be included in all 4 types of calls?

Is there something I don't understand?

Thank you very much!

@cwiechmann
Copy link

Hi @woodyjon, to be honest, I'm not fully sure if I understood the problem correctly. You say, even if you send username / password to the endpoints the information isn't used for validation. Do you mean that?

@woodyjon
Copy link
Author

What I mean is that when the user "connects", its user and password are sent to the api gateway for validation. But after that, when he "subscribes" or "publish", a call is made to the api gateway for validation, but without the user name and password, just "guest" as username and an empty string as password, so the api gateway cannot validate the access based on the user.

@cwiechmann
Copy link

That sounds wrong to me. Let me check

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

No branches or pull requests

2 participants