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

JWT authentication support #7

Open
bradnelson opened this issue Mar 8, 2022 · 6 comments
Open

JWT authentication support #7

bradnelson opened this issue Mar 8, 2022 · 6 comments

Comments

@bradnelson
Copy link

Is JWT authentication supported? I don't see any way to do this, which the server application I wish to connect to requires. If not, are there any plans to support JWTs?

@Igosuki
Copy link
Owner

Igosuki commented Mar 8, 2022 via email

@bradnelson
Copy link
Author

Thanks for the quick response. Not sure my time constraints will allow, but I'll see what I can do 👍

@Igosuki
Copy link
Owner

Igosuki commented Mar 9, 2022

Here is an article to help you : https://blog.logrocket.com/jwt-authentication-in-rust/
There is a connect method in the code where connection happens, which you can patch with that mechanic !

@bradnelson
Copy link
Author

Thanks, I will look through that one!

An unrelated question - will this repo work for standard SignalR messaging? A coworker, who has looked a bit deeper at this library, said it seemed like there were some weird message formatting going on that isn't standard SignalR, that might be specific to the bittrex formatting. Just wanted to check before I dive too deep that if I add the JWT auth, that the other parts of the repo will work for our needs.

@Igosuki
Copy link
Owner

Igosuki commented Mar 10, 2022 via email

@Igosuki
Copy link
Owner

Igosuki commented Mar 12, 2022

We could add some e2e testing tool that runs a test suite using a C# SignalR server.

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