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
| Name | Purpose | Lasts | Type |
|---|---|---|---|
| next-auth.session-token | Keeps you signed in (encrypted, HttpOnly) | 7 days | Strictly necessary |
| next-auth.csrf-token | Protects sign-in forms from cross-site request forgery | Session | Strictly necessary |
| next-auth.callback-url | Returns you to the page you were on after signing in | Session | Strictly necessary |
| theme (local storage) | Remembers light or dark mode | Until cleared | Functional |
| cookie-notice (local storage) | Remembers that you closed the cookie notice | Until cleared | Functional |
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.