-
Notifications
You must be signed in to change notification settings - Fork 6
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
[idea] use passportjs as auth plugin #4
Comments
I agree. In fact, I started writing one a few months ago. But I need to figure out a proper API for supporting alternate authentication mechanisms. My idea is that plugins will get an instance of https://github.com/jscas/cas-server/blob/master/lib/casInterface.js so that they can fully handle everything that is necessary (generate tickets, create user sessions, etc). I just haven't had time to solidify that idea and implement it. Do you have any ideas? |
Hello James, I tried my own implementation here with the following constraints:
Now we can use passport.js using loopback-component-passport I implemented SAML 1.1 you can recover the necessary for your own implementation (templates here and here). Thank you for your work. |
Awesome. SAML support is definitely something JSCAS is missing. I sort of have a need for it, but haven't been able to determine how to make it work as I need. Your example will certainly be a great help. |
It can be interesting to create a passportjs auth plugin for cas-server.
The text was updated successfully, but these errors were encountered: