Open JohnTheodore opened 9 years ago
Presumably this would be done as a new plugin. You can see how we implemented LDAP and Kerberos support.
It would need to be done as a plugin, but it would be more involved as you need to do a handshake with the OpenID provider etc.
I'm writing an azure-ad auth plugin, but I'm unsure of the start and end points:
/auth/azure-ad/login
?)/auth/azure-ad/callback
?)Outside of those things (exposing routes, mostly), I think I can do the rest. Any suggestions on how to neatly accomplish that stuff?
@liamdawson sounds awesome! Regarding "neatly" - the best way is to show us what's working in a PR and we can comment on it. Do you have specific ideas on how you want to implement it?
@geoffwhittington Nothing in particular, I'll draft something up soon-ish(tm) and make a PR. Also going to use OpenID Connect instead, for increased portability.
It's taking me longer than I predicted to get to this, so if someone else is looking to do it, don't wait on me.
what about using passport.js instead? (to support oauth as well)
It would be great to use google for you domain, and hook that up to chat.
https://github.com/havard/node-openid