mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-08-04 14:57:42 +00:00
🍪 feat: Add Session Cookie Secure Override (#13189)
* fix: add session cookie secure override * chore: remove empty whitespace
This commit is contained in:
parent
9107000161
commit
909329a7e8
3 changed files with 42 additions and 2 deletions
|
|
@ -488,6 +488,10 @@ ALLOW_UNVERIFIED_EMAIL_LOGIN=true
|
|||
|
||||
SESSION_EXPIRY=1000 * 60 * 15
|
||||
REFRESH_TOKEN_EXPIRY=(1000 * 60 * 60 * 24) * 7
|
||||
# Overrides the Secure attribute for session/auth cookies when set to true or false;
|
||||
# leave unset to use the default NODE_ENV/DOMAIN_SERVER heuristic.
|
||||
# Set to false only for HTTP-only deployments where browsers drop Secure cookies.
|
||||
# SESSION_COOKIE_SECURE=false
|
||||
|
||||
JWT_SECRET=16f8c0ef4a5d391b26034086c628469d3f9f497f08163ab9b40137092f2909ef
|
||||
JWT_REFRESH_SECRET=eaa5191f2914e30b9387fd84e254e4ba6fc51b4654968a9b0803b456a54b8418
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue