Can't find stored session after refresh
gimtwi opened this issue · 1 comments
gimtwi commented
Hello, I'm trying to create a simple logging app with express-session, connect-mongodb-session and apollo-server-express.


Here I'm finding session from the context to use it for protected routes in UI:

It works on GraphQL Playground:

And I can store cookie on UI as well:

The problem is that after refresh, cookie does not diaper, but ItIsMe querie does not work as intended.
Meaning when I'm requesting ItIsMe querie it returns null unlike GraphQL Playground behavior

If anyone knows where the problem could be, please help me out. Thanks.
gimtwi commented


