Meteor has a great authentication system with some wonderful OAuth packages. But what if one would like to use some custom authentication mechanisms? Like LDAP, or a private OAuth server, or whatnot.
So, more specifically, what would be the best way to customize login/logout processes while still using the Meteor's authentication core, SRP protocol, etc.? Some practical examples would be really appreciated.
You can customize and make your own OAuth package that works with meteor's core packages, specifically accounts-base quite easily.
There is already an LDAP package on atmosphere (http://atmosphere.meteor.com) that you could use, though I have not used it myself. You would add these in with meteorite if you have not already installed it.
sudo -H npm install meteorite
To make your own package there are loads of examples references to git repos with source code on http://atmosphere.meteor.com. There is also a blog post on how to do this in more detail at : http://meteorhacks.com/extending-meteor-accounts.html
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With