SvelteKit auth with HttpOnly cookies
A step by step guide to add cookie based login to a SvelteKit app using hooks.server.ts, form actions and an HttpOnly session cookie.
Category: Authentication
A step by step guide to add cookie based login to a SvelteKit app using hooks.server.ts, form actions and an HttpOnly session cookie.
In this tutorial you will learn how to handle client side auth routes in SPA mode with the correct security assumptions.