-
Hi,
It would be very convenient for me if koa-session supported the `domain` directive in it's config.
I'm happy to implement and PR if neccessary.
-
koa-generic-session 和 koa-generic-session-mongo 中相关的配置:
app.js
``` javascript
app.use(session({
store: new MongoStore(config.mongodb)
}));
```
config/default.js
``` javascript
mongodb: {
ur…
-
问题来源于一个需求,能否将多个 koa app (下文我们称之为子应用)挂载到一个共同的 koa app (下文我们称之为父应用)呢?
经过疯狂百度后发现,官方提供了一个 koa-mount 中间件来提供这个能力。
这可太棒了,不费吹灰之力就实现了一个需求~
但在真正的使用过程中,却发现一切似乎又不是那么完美...
-
It seems to be because of this https://github.com/jaredhanson/passport/issues/907, probably a good idea to downgrade the passport version for now.
-
## The dependency [koa-session](https://github.com/koajs/session) was updated from `5.12.3` to `5.13.0`.
🚨 [View failing branch](https://github.com/devilesk/dota-ihl-bot/compare/master...devilesk:gr…
-
https://github.com/koajs/session/blob/622a2d803ff0d42ff1620e3c576b089b3725a65f/index.js#L39
```js
session({
key: 'koa:sess', /** (string) cookie key (default is koa:sess) */
/** (number ||…
-
I am using koa-generic-session with koa-redis. Everytime I restart my application all my sessions are invalid. I use it together with Passport and need to login again. How can I prevent this?
I set…
-
As discussed in #59, a reference to the Koa app is currently accepted so the middleware initializer can modify it for performance reasons. This makes sense, but it sort of couples the middleware to th…
-
Hi I was using koa auth for shopify, now since its depreciated, tried this library, first i was running koa auth on node 10.18.0 , on that , installing it gave me a error on redis, so upgraded node to…
-
Question is in the title, just wondering if there is a function like `session.getSesh(seshid).userid` or something