This series is sponsored by cloudinary, definitely go check them out, their new Svelte SDK is fantastic and the beautiful performant images on Sediment would not have happened without them! cld.media/bendavis
I know you said one pro is that your users live in your database..but what are some of the cons of going with an open source library vs something like clerk or auth0? Also how does an authentication library differ from something like google oauth or github oauth that you spoke about?
I have a honest question for you Ben, do you consider this app production ready regarding libraries? What I mean is, do you trust these libraries like Drizzle and Lucia for an application that is expected to be maintained for a long period of time? I don’t dislike any of these new libraries, but I find it really hard to use them in the real world (outside of small personal projects). Maybe I’m being paranoid but I simply can’t trust them without a decent track record.
Lucia is such a lightweight library that I trust it, you can look at the source code and its just a bunch or nice helpers and all the data lives in ur db so I think its safe For drizzle I personally am betting on them in prod, they have a really good team and at the end of the day an ORM is something I feel comfortable switching out if I need to the big things I would not risk are file storage, database, a messageing/queue system, a auth provider (clerk, auth0, etc.)
Thank you so much @bmdavis419 I loved the video & explanation was smooth. 100% out of 10%. I might be going to consider Lucia for actual Production environment.
Hi Ben! I have a question. I am using a helper function just like yours but it is not protecting nested routes. For example, /3092 is being protected, but /3092/randomized is not being protected. Any idea how I can go about fixing that?
It depends on where you are doing the check, if its in a layout then don't do that, move it to a specific page. Each should have a guard in its load function or API route
@@bmdavis419 Hi, I can't seem to find it in the links listed in the description (I might need a break from coding all day lmao), did you remove it in the last three months by chance?
@@bmdavis419 please do! you have a great way of explaining things - just wish you did a few tutorials with just sveltekit + supabase combo. for beginners like me figuring out 2 tools is more realistic than 4 ;)
@@yanisxmine yea ill definitely go over those once I've done it I really just make videos on the stuff i have/am building which is why my videos tend to be all over the place