-
I have 2+ models and want to make login differently for each but only first STRATEGY working other not and not even showing errors just login successfully and then on req.isAuthenticated() return fals…
-
I have problem with logon to OpenCTI via LDAP/AD
My productions.json:
...
"providers": {
"ldap": {
"strategy": "LdapStrategy",
"config": {
"url": "ldap://mydomain…
-
Started using this 2 years ago and noticed that mongo db was sending me connection warning (too many open connections). I am guessing this is fixed by the new middleware.
Do you have any simple ste…
-
### Is there an existing issue that is already proposing this?
- [X] I have searched the existing issues
### Is your feature request related to a problem? Please describe it
Most applications don't…
-
function ensureAuthentication(req, res, next) {
// Complete the if statement below:
if (req.session.authenticated) {
return next();
} else {
res.status(403).json({ msg: "You're not …
-
### What do you want and why?
Firstly I would like to see it cleaned up. Currently looking at https://github.com/blitz-js/blitz/blob/canary/examples/auth/app/api/auth/%5B...auth%5D.ts there are in…
-
// Create passport middleware
app.use(passport.initialize());
app.use(passport.session());
// Complete the serializeUser function below:
passport.serializeUser((user, done) => {
done(null…
-
[StackOverflow question here.](http://stackoverflow.com/questions/36975133/passport-js-isauthenticated-inconsistent-behavior-false-when-it-should-be-t)
I've been fighting for quite awhile with this b…
-
I am following the [Username & Password Tutorial](http://www.passportjs.org/tutorials/password/) on the docs, and on the [Establish Session Page](http://www.passportjs.org/tutorials/password/session/)…
-
When I updated OpenCTI 5.3.14 to 5.6.2, platform is down.
I searched about this problem and I found this link.
https://github.com/OpenCTI-Platform/opencti/issues/2544
But I couldn't upgrade ela…