fp-api-auth
v9.26.1
Published
Downloads
5
Readme
cookieParser()
import { resolveSession } from "fp-api-auth";
app.use(resolveSession());
app.get("/api/resolveSession", (req, res) => {
console.log("res.locals.session", res.locals.session);
res.json(res.locals.session);
res.end();
});