-
## Describe the bug
**Node.js version:** 18.12.1
**Typescript version:** 4.9.4
**Koa version:** 2.14.1 (types: 2.13.5)
**OS version:** Mac OS 13.0.1
**Description:** Context's `session`…
-
I am using the vhost middleware with koa-session. Since koa-session 2.0.0 is was possible to use it in a subapp. Since 3.0.0 this does not work anymore. Example:
``` js
var session = require('./');
v…
-
I have a custom auth middleware that runs before the trpc middleware that verifies the session cookie and puts the user ID in the Koa context. I would like to just use this user ID, but I can't seem t…
-
## Example
### dependencies
```json
"dependencies": {
"koa": "^2.6.2",
"koa-session": "^5.10.1"
}
```
### index.js
```js
const session = require('koa-session');
const Koa = …
-
I'm working with koa-mount, looks like the problem is `koa-session` but I'm completely lost with this implementation with `koa-passport`. My code is like :
`server.js`:
```js
'use strict';
cons…
-
i try to import it in a ts script. but it complains "Could not find a declaration file for module 'koa-session-mongoose'”;
i tried to add types.d.ts as follow, but wont work. please help
`import {…
-
Hello, I'm using socket.io and koa-session. How can I get user session information (same as ctx.state.user in koa middleware) in socket context, where I have only cookie session id?
-
```javascript
koa-generic-session:session session id not exist, generate a new one +10s
koa-route GET /signup matches /signup [] +5ms
koa-generic-session:session new session and do not modif…
-
After switching to koa-socket-2, I don't think I have any way to set up CORS as I cannot `io.set('origins', options.frontEnd);` with `const io = new IO();`
app.io, app._io are also not accessible …
-
Session is being created and saved to `redis` just fine, but I can't seem to destroy it. I'm not passing any custom options to `koa-generic-session` and only `host`, `port`, and `password` to `koa-red…