The hottest Substack posts of Ilia’s Newsletter

And their main takeaways
1 HN point 04 Mar 24
  1. To make authentication cookies work beyond the 7-day expiry on Safari, classify them as first-party cookies by ensuring the subdomain and domain resolve to the same IP addresses, which can be complex in a Decoupled Frontend & Backend Architecture.
  2. A solution is to add a dynamic endpoint to the frontend that sets the authentication cookie on the frontend domain then use that cookie on the backend subdomain, ensuring cookies are shared across subdomains to maintain authentication.
  3. Consider various security measures like using `SameSite=Strict` to protect against CSRF and being cautious about running only trusted code on subdomains when implementing this method.
0 implied HN points 12 Jan 21
  1. The post is about code and life musings shared by Ilia Sidorenko, a lead developer at STQRY.
  2. The post includes a link to subscribe to Ilia's newsletter to not miss the first issue.
  3. Ilia encourages readers to share the post with their friends.