Extending the Login Session to 1 Year for Kiosk‑Mode TV Screens (Next. js API Route) TL;DR: I changed the maxAge of the auth cookie from 30 days to 365 days in src/app/api/login/route. ts .

Source: [Dev.to](https://dev.to/zaerohell/extending-the-login-session-to-1-year-for-kiosk-mode-tv-screens-nextjs-api-route-da7)

Sponsored