Overview
The Authentication service highly depends on PassportJS this is why its file is passport.js
It requires two stores : Idents and Users.
The Idents will contains each mode of Authentication enabled by the user, you will find in the Ident also the profile returned by the OAuth provider if returned.
The Users will have one object per user, with the idents collection, it also contains the password if any is set.
Basic configuration
"successRedirect": "https://shootandprove.loopingz.com/user.html", // Redirect to this page after login
"failureRedirect": "/login-error", // Redirect to this page after failed login
"userStore": "", // If you want to override the userStore name by default Users
"identStore": "", // If you want to override the identStore name by default Idents
"providers": {
... // See below
}