Any well versed in weird next.js 15 data caching issues in prod?
Unanswered
Phalène posted this in #help-forum
PhalèneOP
I'm trying to incorporate Auth.js magic links and everything works as expected.
However after successful logout (in production only), and returning back to a protected route with user usage data, the data remains. The signout function supplied by Auth.js claims to clear everything but doesn't. I've tried revalidating paths and manually deleting cookies. Dev mode works as expected. Thanks in advance.
However after successful logout (in production only), and returning back to a protected route with user usage data, the data remains. The signout function supplied by Auth.js claims to clear everything but doesn't. I've tried revalidating paths and manually deleting cookies. Dev mode works as expected. Thanks in advance.
1 Reply
PhalèneOP
[Fixed] -- I couldn't figure out and switched to Better-auth which works great