asmoiseev
BABetter Auth
•Created by asmoiseev on 4/12/2025 in #help
cookieCache doesn't work with customSession plugin
Hello. I'm wokring on a next.js 15.3 application and noticed that
cookieCache
doesn't work once I add customSession
plugin. I enabled query logging for Prisma client, and see that it queries database on every getSession()
call. Maybe I'm missing something obvious. Did anyone have similar issues? Here is my config:
3 replies