svelte_kit_jwt_auth Svelte Themes

Svelte_kit_jwt_auth

This demonstrates authentication in svelte-kit using jsonwebtoken and cookies.

svelte_kit_jwt_auth

This is an example project demonstrating the json web token (jwt) authentication process.

Running locally

Add VITE_JWT_PRIVATE_KEY in .env as secret for jsonwebtoken

cd svelte_kit_jwt_auth
pnpm i && pnpm dev

Code will run at http://localhost:3000

Top categories

Loading Svelte Themes