Level: Advanced12 min read
JWT rotation, IDOR, and the security decisions behind NovaShop
Auth in NovaShop spans three layers: NestJS issues tokens, Next.js holds the cookies, middleware quietly refreshes. Most of the small decisions here are the ones skipped when you build auth 'quickly' - and the ones attacked most often in practice.
SecurityAuthNestJS