-
Notifications
You must be signed in to change notification settings - Fork 1
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
[Feature]: Support for OAuth authentication #4
Comments
Hey @pascalre ..! Thanks for raising the issue... unfortunately I just noticed it now after more than a month. That's weird. Yes, it's been on my mind to improve the way it does authentication. Since you raised this, maybe I'll prioritize it. Thanks! Stay tuned. EDIT: I thought that if you're using TLS to connect to the broker ( |
How would you expect this to work? Would cutting/pasting tokens and ID strings via command-line parameters work? (or obviously environment/shell variables, to hide from command history). Since v1.1, I've added the ability to override some (most?) JCSMPProperties from the comand line, using a double-hyphen and the property name. If you run Looking at this OAuth JCSMP sample here, it just appears we need to pass it in some Strings with the the token and ID. So maybe it could be as easy as:
Using either |
Hello @aaron-613, |
Hi again @pascalre , ok sounds good. Seems like a lot of people are building queue browsers recently. Not sure how involved your OAuth token retrieval/refresh is, but surely it would've been easier to just forke this project and override the authentiation part with your own vs. building a whole 'nother application? Either way, whatever works for you! I will still add ability to pass OAuth tokens from the command line, since that's pretty straightforward. But yeah: retrieval of the token is outside the scope of this app. That's all custom code? How would any generic app do this, I'm quite interested. |
I already had a queue publisher and receiver adapted to our OAuth setup, so integrating browsing functionality was straightforward. I'm not sure yet, how a generic app could retrieve the token. As a starting point, it might be best to simply pass the token directly as argument to the app. |
Feature Description
Currently solace-pretty-dump does only support basic auth as authentication scheme against the PubSub+ Broker. OAuth2 could be used as a more secure way of authentication.
Use Case
Basic Authentication sends the username and password with each request in plain text, which can be intercepted and compromised. OAuth2, on the other hand, uses tokens and cryptographic signatures, reducing the risk of exposing credentials.
Proposed Solution
No response
The text was updated successfully, but these errors were encountered: