lucia-auth / lucia

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

[Feature Request]: Removing user handling #1516

Open mohamedhoss123 opened 3 months ago

mohamedhoss123 commented 3 months ago

Package

lucia

Description

From my understanding to source code of lucia uesr handling is used for checking if user exists in db if yes will return the properties we want else we will delete the session made that request , this aprouch have alot of cons :

I think we talked about this topic before on discord but as this topic apeared again and I didn't find a clear state saying what we are going to do about it so I wanted know .

pilcrowOnPaper commented 2 months ago

I am open to the idea and slowly leaning towards it. Would have to be part of v4, which probably will be early next year