lucia-auth / lucia

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

Update $hono.md #1356

Closed Mayor-Rhymes closed 7 months ago

Mayor-Rhymes commented 7 months ago

Sign out user function on hono does not seem to work with post request but works with get request.

pilcrowOnPaper commented 7 months ago

It's likely an issue with CSRF protection - never use GET. You need to disable CSRF protection or configure Lucia to accept request from your origin

https://v2.lucia-auth.com/basics/configuration/#csrfprotection