Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

jwt authentication needed #4910

Closed
abhanan369 opened this issue Dec 31, 2023 · 5 comments
Closed

jwt authentication needed #4910

abhanan369 opened this issue Dec 31, 2023 · 5 comments
Labels
documentation Improvements or additions to documentation

Comments

@abhanan369
Copy link

abhanan369 commented Dec 31, 2023

really need jwt authentication example, and show how express request can pass auth token to socket

@abhanan369 abhanan369 added the enhancement New feature or request label Dec 31, 2023
@darrachequesne
Copy link
Member

Hi! You mean, with passport-jwt for example?

@darrachequesne darrachequesne added documentation Improvements or additions to documentation and removed enhancement New feature or request labels Jan 5, 2024
@abhanan369
Copy link
Author

Yes, that would help alot

darrachequesne added a commit that referenced this issue Jan 13, 2024
@darrachequesne
Copy link
Member

I've added an example here: https://github.com/socketio/socket.io/tree/main/examples/passport-jwt-example

@abhanan369 could you please check if everything is clear enough?

@abhanan369
Copy link
Author

Thank you @darrachequesne, this helps alot. ✌️

@darrachequesne
Copy link
Member

Awesome, thanks for the feedback.

I've added the example here: https://socket.io/how-to/use-with-jwt

vanquisher0411 added a commit to vanquisher0411/socketio_project that referenced this issue Feb 29, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants