-
-
Notifications
You must be signed in to change notification settings - Fork 61
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
Authentication layer for glee, support for different authentication frameworks #377
Comments
Just putting a thought out there, since glee is using middlewares we could use https://www.npmjs.com/package/passport to implement authentication. |
I am interested in this under gsoc 2023, can you guide me to get started with this issue. |
@Souvikns @fmvilas @KhudaDad414 I would love to give this a try |
@Souvikns @AceTheCreator This sounds like an exciting issue to work on, however I think we should also explore other ways of adding authentication rather than using passport.js. Maybe even writing one of our own. Here are a few points I want to share:
|
This issue has been automatically marked as stale because it has not had recent activity 😴 It will be closed in 120 days if no further activity occurs. To unstale this issue, add a comment with a detailed explanation. There can be many reasons why some specific issue has no activity. The most probable cause is lack of time, not lack of interest. AsyncAPI Initiative is a Linux Foundation project not owned by a single for-profit company. It is a community-driven initiative ruled under open governance model. Let us figure out together how to push this issue forward. Connect with us through one of many communication channels we established here. Thank you for your patience ❤️ |
Currently, as a user when we are using glee to build a WebSocket server the only way of authenticating is by writing your own authentication logic in the functions. Which is repetitive and not a good solution when you have a large application, with the addition of WebSocket and HTTP adapters, glee needs support for authentication and authorization. Right now glee needs some kind of Authentication middleware for both server and client adapters.
Currently, client adapters are able to send authentication parameters with the help of glee config, and this needs to be updated so that it can support multiple authentication and authorization process.
glee/examples/dummy/glee.config.js
Lines 15 to 19 in 16c99b0
For starters, we need to support some popular authorization processes-
The text was updated successfully, but these errors were encountered: