When I login to my app with createEmailPasswordSession
the cookie has only 6 months of expiration but I have 1 year in Auth settings. I have console-logged the session that is returned from createEmailPasswordSession
and itsexpire
property shows 2026-09-11T06:20:29.919+00:00
, which should be the correct session expiration time. Why is the cookie having a wrong expiration?
TL;DR
Developers are experiencing an issue where the cookie expiration date is 6 months, despite setting it to expire in 1 year in the Auth settings. The console-logged session from `createEmailPasswordSession` shows the correct expiration time. The solution may be to check the cookie settings in the application code to ensure they align with the desired expiration time.