eggjs / eggjs/egg

ACCESS STATIC RESOURCE WILL CAUSE LOSING SESSION from EGG-PASSPORT

Open
#4,851 2 comments 0 reactions 0 assignees View on GitHub
Inactive need-more-information
Dominant language
TypeScript
Stars
19k
Forks
1.8k
PR merge metrics
No merged PRs in 30d

Description

## What happens?
Currently I Enable Allowing Credentials from Client to enable Passport Deserialize Methods to run. If no Cookie it will not run !
But when a request with Static resources as Image fired to Server, the server will remove old session and response back to client new session (inside cookie) . Hence user got kicked out of session.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.