SSG - Cookies based NextJS authorization for headless Drupal

User data is stored in localstorage.

! Keep in mind that using cookies from Drupal server requires SSL !

This is a starter template for Learn Next.js.