lucia-auth / lucia

Authentication, simple and clean
https://lucia-auth.com
MIT License
8.32k stars 447 forks source link

[Docs]: Astro CSRF protection #1585

Closed bartoszkrawczyk2 closed 3 weeks ago

bartoszkrawczyk2 commented 1 month ago

Description

Astro's built in CSRF protection is now stable: Astro 4.9

It would be good to update Getting started in Astro documentation and recommend enabling it in Astro config instead of manually checking origin in middleware.