Cookie Policy

Cookie Policy

Last updated November 19, 2026

LeetCAD uses only the cookies and browser storage needed to run the site. We do not use analytics, advertising, social-media or any other tracking cookies, and we do not let third parties set cookies on leetcad.org. Strictly necessary cookies don't need consent under the GDPR and ePrivacy rules, so we show a notice rather than a consent form. If we ever add optional cookies, we will ask first and they will stay off until you agree.

What we store

NamePurposeLastsType
next-auth.session-tokenKeeps you signed in (encrypted, HttpOnly)7 daysStrictly necessary
next-auth.csrf-tokenProtects sign-in forms from cross-site request forgerySessionStrictly necessary
next-auth.callback-urlReturns you to the page you were on after signing inSessionStrictly necessary
theme (local storage)Remembers light or dark modeUntil clearedFunctional
cookie-notice (local storage)Remembers that you closed the cookie noticeUntil clearedFunctional

In production the session cookies are named with a __Secure- prefix and only sent over HTTPS. You can block or delete cookies in your browser settings, but you won't be able to sign in without the session cookie.