JWT-magic-links Svelte Themes

Jwt Magic Links

Implementation of JWT-based magic links for flyfairly.com (svelte multipage app)

Flyfairly app

To test:

curl -X POST http://localhost:8000/signup -H "Content-Type: application/x-www-form-urlencoded" -d "[email protected]" Follow the link in the email at mailnesia It contains a JWT expiring in 15 minutes. Using the JWT updates another in the cookie jwt, lasting for a 24 hours. ( ᵔ ᴥ ᵔ )

Top categories

Loading Svelte Themes