Тёмный
No video :(

SvelteKit Auth in 15 Minutes 

Ben Davis
Подписаться 18 тыс.
Просмотров 7 тыс.
50% 1

Опубликовано:

 

6 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 37   
@bmdavis419
@bmdavis419 6 месяцев назад
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
@Plunzi
@Plunzi 6 месяцев назад
Ben, your videos are awesome and they really do help me out very often! Thanks for doing this.
@biscuithammer
@biscuithammer 4 месяца назад
we all be trippin' with the LSD stack! 💯
@rawlespringer3917
@rawlespringer3917 5 месяцев назад
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?
@GabrielGasp
@GabrielGasp 6 месяцев назад
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.
@bmdavis419
@bmdavis419 6 месяцев назад
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.)
@m.fahadislam
@m.fahadislam 6 месяцев назад
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.
@nro337
@nro337 6 месяцев назад
Great video!
@charlesokorobo508
@charlesokorobo508 Месяц назад
Couldn't find the source code / codebase for this Video. You said we will find it in the description, but it's not there.
@dhorimato8444
@dhorimato8444 5 месяцев назад
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?
@bmdavis419
@bmdavis419 5 месяцев назад
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
@fedacuric8719
@fedacuric8719 6 месяцев назад
Nice video, thanks. Would you mind sharing the code?
@bmdavis419
@bmdavis419 6 месяцев назад
its in the description!
@medijaster
@medijaster 2 месяца назад
@@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?
@cotyhamilton
@cotyhamilton 6 месяцев назад
Lucia Cinematic Universe or Some Shit 👏 😂
@DaminGamerMC
@DaminGamerMC 3 месяца назад
thanks really useful. Why did you not chose Auth js?
@paarkgrounds
@paarkgrounds 6 месяцев назад
hi ben! how would you compare the advantages of this modular approach versus using a fully integrated BaaS like supa/fire/pocketbase?
@bmdavis419
@bmdavis419 6 месяцев назад
I need to ship something with supabase before I can give a full opinion, will hopefully have one soon!
@yanisxmine
@yanisxmine 6 месяцев назад
@@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 ;)
@bmdavis419
@bmdavis419 6 месяцев назад
@@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
@Richetechguy
@Richetechguy 6 месяцев назад
Lucia auth is great i just moved over to v3
6 месяцев назад
why not new supabase ssr?
@bmdavis419
@bmdavis419 6 месяцев назад
this project was built a while ago, my next one is gonna use supabase
@mr.random8447
@mr.random8447 5 месяцев назад
Do you have an AuthZ library you use? That’s what I’m currently stuck on.
@bmdavis419
@bmdavis419 5 месяцев назад
Auth 0? I moved off that a LONG time ago lol, I'm using lucia these days, or occasionally Clerk for react stuff
@mr.random8447
@mr.random8447 5 месяцев назад
@@bmdavis419 No AuthZ, aka Authorization. Different than AuthN (Authentication). Yeah I use lucia too for AuthN
@bmdavis419
@bmdavis419 5 месяцев назад
@@mr.random8447 oooh yea for that I just put an enum on my users table lol
@mr.random8447
@mr.random8447 5 месяцев назад
@@bmdavis419 Oh, so just RBAC. Have you done ABAC before?
@amerrashed6287
@amerrashed6287 3 месяца назад
Awesome Ben🎉. Is there github source code?
@TheMrArmbull
@TheMrArmbull 4 месяца назад
please give me link repo of this project
@TheMrArmbull
@TheMrArmbull 4 месяца назад
in your github account there is no this repo...
@kaiden3514
@kaiden3514 5 месяцев назад
*PromoSM*
@user-ru3jc8tf1x
@user-ru3jc8tf1x 5 месяцев назад
This tool sucks, i prefer auth0 or eartho
@mr.random8447
@mr.random8447 5 месяцев назад
You don’t have control of your users and if your app scales prepare to pay up
@mixed_nuts
@mixed_nuts 5 месяцев назад
AuthJS is just so much more simple and straight forward
Далее
NextJS VS SvelteKit in 2024...
15:51
Просмотров 13 тыс.
React VS Svelte...10 Examples
8:35
Просмотров 555 тыс.
Bike Challenge
00:20
Просмотров 12 млн
Oh, Auth Doesn't Have to Suck?
7:16
Просмотров 61 тыс.
i didn't know these Svelte tips
18:56
Просмотров 5 тыс.
Serverless Auth with Lucia Auth V3
27:46
Просмотров 7 тыс.
Svelte 5 is Bigger Than You Think
9:35
Просмотров 21 тыс.
14 Awesome Real World Projects Using Svelte
10:49
Просмотров 26 тыс.
When RESTful architecture isn't enough...
21:02
Просмотров 275 тыс.
Stop using Zapier, Make, n8n
25:33
Просмотров 17 тыс.
I Tried Every Svelte UI Library
20:57
Просмотров 47 тыс.
Practical Svelte 5 - Shopping Cart
25:10
Просмотров 14 тыс.
Bike Challenge
00:20
Просмотров 12 млн