-
In the documentation page for `passport-local` there is this following sentence `For complete, working examples, refer to the multiple examples included.` However, the link leads to a 404. Please redi…
-
The certificate is allowed on the main machine. But git clone is executed from docker. How can this be corrected? Apparently you need to put a certificate
```
Cloning Repository https://data.passpor…
-
//index.js file
const express = require('express');
const server = express();
const mongoose = require('mongoose');
const cors = require('cors');
const session = require('express-session');
co…
-
So, i started to do a little digging while trying to get a grip about Facebook integration and found out that one main issue is that the boilerplate does not have any (sane) logic for creating a local…
-
Hi all
I've tried to test a route protected with passport-local using Postman. Hitting the route from my browser when logged in I get a 200 but when I try the same with postman using the Basic Auth h…
-
During this milestone, I will be working on implementing this feature by creating/updating my:
- [ ] Setting up Passport Local Strategy.
- [ ] User Schema needs to be made.
- [ ] Routes need to …
-
const router = require('express').Router()
const User = require('../models/user.model')
const { body, validationResult } = require('express-validator')
const passport = require('passport')
r…
-
I was having problems using a JWT strategy - I set it up and it looked just like my Local strategy, but it wasn't running.
```js
const jwtOptions = {
jwtFromRequest: ExtractJwt.fromAuthHeader(),…
-
Hello,
When the register method is called, it stores an hash and a salt separately. It's not possible to query them.
But is this the best practice in terms of security? Shouldn't it store only the…
-
It there an equivalent to passport-local https://github.com/jaredhanson/passport-local that allows Grant to have a local strategy for login ?
```
passport.use(new LocalStrategy(
function(username…