How I Authenticate my Sveltekit Apps

  Рет қаралды 7,876

Ben Davis

Ben Davis

Күн бұрын

Пікірлер: 31
@kylerjohnson988
@kylerjohnson988 6 ай бұрын
I’m routinely impressed by your content. Almost nobody breaks down the high level overview first like this before getting into the detail. That’s so important for setting context to help people grok the rest of your content and you do it so well.
@bmdavis419
@bmdavis419 6 ай бұрын
Appreciate it man!
@MrRe-sj2iv
@MrRe-sj2iv 10 ай бұрын
I used Lucia Auth for months. Just love it. I can easily boost the performance by just move the session to Redis to cache and it clearly written in the document.
@BhideSvelte
@BhideSvelte 9 ай бұрын
hey can you share some examples with Sveltekit + Lucia + Redis Please...any github repo or blog post ?
@MrRe-sj2iv
@MrRe-sj2iv 8 ай бұрын
Btw, Lucia Auth V3 just landed. Enjoy it guys.
@MrRe-sj2iv
@MrRe-sj2iv 8 ай бұрын
Passkeys will absolutely a game changer feature in the future of Lucia Auth.
@io1921
@io1921 10 ай бұрын
OAuth included in the next video ?
@edumorangobolcombr
@edumorangobolcombr 10 ай бұрын
Man, thanks for sharing. I'll take a look! After knowing that Next Auth doesn't work on mobile I was about to start my new project in Supabase cause I don't want to use something like Clerk and be locked in.
@GringoDotDev
@GringoDotDev 9 ай бұрын
Love your videos man!
@nickwoodward819
@nickwoodward819 5 ай бұрын
did the 'nitty-gritty' video ever happen?
@gadgetboyplaysmc
@gadgetboyplaysmc 9 ай бұрын
5:40, wait I thought bun used symlinks like pnpm? No?
@zhanezar
@zhanezar 9 ай бұрын
I think Lucia is changing with its v3 version i would love more videos , but with the changes coming videos may become outdated
@bmdavis419
@bmdavis419 9 ай бұрын
Oh shit I’ll need to look into that
@John-qs5hu
@John-qs5hu 9 ай бұрын
rip keys in V3
@phoneywheeze
@phoneywheeze 9 ай бұрын
What were the components with dots (like Card.Header)?
@elvis_gastelum
@elvis_gastelum 7 ай бұрын
I guess just some “compound components”? Google that words, is a thing I like to do normally for cards too (but my context is from react, maybe applies a little bit different on svelte)
@SR-ti6jj
@SR-ti6jj 10 ай бұрын
**Not Mid**
@Noritoshi-r8m
@Noritoshi-r8m 9 ай бұрын
Have you tried Svelte and Pocketbase?
@BhideSvelte
@BhideSvelte 9 ай бұрын
how to host them...? is it free ?
@proharbiswas3056
@proharbiswas3056 6 ай бұрын
pocketbase is not ready for production
@devagr
@devagr 10 ай бұрын
🥲
@bmdavis419
@bmdavis419 10 ай бұрын
Does clerk have a Svelte SDK?
@devagr
@devagr 10 ай бұрын
@@bmdavis419 I am totally joking by the way Lucia is an amazing library
@BrianMorearty
@BrianMorearty 9 ай бұрын
Beautiful. I was going through the Lucia docs but this video helped me out with some things I found confusing.
@luciferno4606
@luciferno4606 8 ай бұрын
Very helpfull tutorial! How would I go about adding a avatar to a profile?
@bmdavis419
@bmdavis419 8 ай бұрын
Will have this in the e-commerce tutorial
@nuttbaked
@nuttbaked 9 ай бұрын
Lucia is the best!
@pascaltib
@pascaltib 8 ай бұрын
Thanks for the video! I have been using Lucia with Prisma for a project I am doing. Quick question: What do you think about doing this in hooks.server.ts? event.locals.session = await event.locals.auth.validate() if (!event.locals.session && !event.url.pathname.startsWith('/auth')){ throw redirect(303, handleLoginRedirect(event.url)) } That way I don't have to run await event.locals.auth.validate() every time I want to get the user info and redirect from my hooks.server.ts instead of in individual page.server.ts load functions. Let me know if you think this is a good implementation!
5 Things I Wish I Knew When I Started Using SvelteKit
7:27
Ben Davis
Рет қаралды 17 М.
I want to use Go, but I'm not going to.
18:31
Ben Davis
Рет қаралды 33 М.
How and Why I Rebuilt my SAAS App
13:24
Ben Davis
Рет қаралды 21 М.
5 Coding Projects That Give You An UNFAIR Advantage
9:40
Tech With Tim
Рет қаралды 200 М.
Speed Up Your Apps with Cache Control
14:42
Huntabyte
Рет қаралды 19 М.
How I've Gotten Better at Coding
13:14
Ben Davis
Рет қаралды 3,4 М.
I Feel Bad For New Programmers
19:12
ThePrimeTime
Рет қаралды 449 М.
Svelte 5 is Bigger Than You Think
9:35
Ben Davis
Рет қаралды 23 М.
Oh, Auth Doesn't Have to Suck?
7:16
Josh tried coding
Рет қаралды 63 М.
I built a $5 chat app with Pocketbase & Svelte. Will it scale?
13:34
SvelteKit and Supabase Deep Dive
51:23
Ben Davis
Рет қаралды 19 М.