Closed tomoat closed 7 years ago
@tomoat It works to me. Could you supply a case?
I've found a solution, and I've tried, and I've succeeded app.js
app.use(session({key: 'koa:sess', signed: true}))
routes/user.js
ctx.cookies.set('users', jwt.sign({ uid: users.id, name: users.name }, config.token_secret), { httpOnly: false })
HttpOnly set to FLASE does not work