customSession with cookieCache enabled not returning Set-Cookie header for session_token
This causes the session_token cookie to get expired on client side, despite it getting refreshed properly on db side.
Only happens when customSession and cookieCache are both being used.
Current:
Set-Cookie header is returned for the session_data, but NOT for session_token
Expected:
Set-Cookie header is returned for both session_data and session_token
Reported here: https://github.com/better-auth/better-auth/issues/3713
GitHub
customSession with cookieCache enabled not returning Set-Cookie hea...
Is this suited for github? Yes, this is suited for github To Reproduce Setup auth with customSession plugin and cookieCache enabled Perform getSession from client side Check the response headers Cu...
0 Replies