SvelteKit Authentication with PocketBase

  Рет қаралды 33,665

Huntabyte

Huntabyte

Күн бұрын

Пікірлер: 125
@Huntabyte
@Huntabyte 2 жыл бұрын
Hey everyone, I recently got a new mic and am still trying to get the settings right, so please let me know how it sounds! Thank you!
@rgfxnet
@rgfxnet 2 жыл бұрын
Sounds good to me.
@fangs85
@fangs85 2 жыл бұрын
I agree, sounds good.
@mmkamalraj8931
@mmkamalraj8931 2 жыл бұрын
Sounding great
@studioph5.6
@studioph5.6 2 жыл бұрын
Sounds nice and clear
@osemudiamhen
@osemudiamhen 2 жыл бұрын
the sound is great!
@shadowcodr
@shadowcodr 2 жыл бұрын
Mini series on svelte and pocket base would be amazing!
@mirostormpolfliet6241
@mirostormpolfliet6241 2 жыл бұрын
I'm extremely interested in a PocketBase + SvelteKit series
@Yusuf1187
@Yusuf1187 2 жыл бұрын
I just want to let you know how grateful I am for your tutorials on SvelteKit. I'm new to programming anything serious and you're the only person I'm seeing put out quality tutorials on the most recent version of SvelteKit. The way you present information is clear about the logic of what is happening in the code and why you're doing each step. It's a massive help!
@Huntabyte
@Huntabyte 2 жыл бұрын
Thank you for the kind words and I’m glad I’m able to help!
@fangs85
@fangs85 2 жыл бұрын
I'll add that I'd love to see more pocketbase tutorials.
@Alex_Avatar88
@Alex_Avatar88 2 жыл бұрын
Definitively interested in the PB-kit series! Great videos! Thank you!
@Huntabyte
@Huntabyte 2 жыл бұрын
Thank you!
@KevinDangerMiller
@KevinDangerMiller 2 жыл бұрын
I'd love to see adding social login as a possible series video.
@ikai2
@ikai2 2 жыл бұрын
Thank you for the great video, definitely interested in the mini-series about SvelteKit & PocketBase
@madhudson1
@madhudson1 2 жыл бұрын
would love to see a pockebase series, thanks for the recent videos
@Huntabyte
@Huntabyte 2 жыл бұрын
You're welcome!
@neverforget1575
@neverforget1575 2 жыл бұрын
Wow your teaching style is perfect, keep up the great work! Can I suggest a few tutorials that I think will really blow up your channel! 1. STRIPE: if you can believe there is not ONE tutorial that is beginner friendly in ANY language showing how to use Stripe connect! many apps can use a marketplace feature and there is nothing on the web that is up to date, I have been searching for weeks. I think a Stripe set of tutorials will make your channel THE place to learn about implementing Stripe in the correct way and people looking for Stripe tuts will more than likely move over to Svelte as you are the only one doing it and doing it well! It could use PB or Prisma as the DB and show how to install stripe, add a single purchase product, subscription products, connect onboarding, Webhooks, and how it all ties into the DB and server-side rendering with correlation to user ID's, stripe account ID's etc. Like and etsy, airbnb, onlyfans type setup. This would make a great addition to the whole web dev ecosystem and something I feel is lacking anywhere on the web. Hope this helps with ideas for the channel, once again keep up the great work! Thanks
@Huntabyte
@Huntabyte 2 жыл бұрын
Thank you for the fantastic suggestions, I will certainly consider that!
@ravi2048
@ravi2048 2 жыл бұрын
This is probably the first sveltekit & pocketbase video on KZbin
@Huntabyte
@Huntabyte 2 жыл бұрын
You may be right!
@tyswenson7542
@tyswenson7542 2 жыл бұрын
Would watch all of the mini series!
@Shaparder
@Shaparder 2 жыл бұрын
Dude this is legit, so interested in a full serie !!
@sjc5
@sjc5 2 жыл бұрын
Please do a full series on this stack, would love that! Subscribing
@KevinMacKenzie61
@KevinMacKenzie61 2 жыл бұрын
Yes, to the series!
@michaelpotter9006
@michaelpotter9006 2 жыл бұрын
Sound was just fine. Thanks for another excellent video.
@Huntabyte
@Huntabyte 2 жыл бұрын
Thank you!
@DavePerth
@DavePerth 2 жыл бұрын
Thanks for this - still getting my head around the usefulness of this, but it sounds very interesting. So more video's on it would be great - Cheers, Dave
@DrShmuck
@DrShmuck 2 жыл бұрын
Very interested in this series. Well done!
@Huntabyte
@Huntabyte 2 жыл бұрын
Thank you!
@adampatterson
@adampatterson 2 жыл бұрын
Packages are updating so fast! 😂 With your starter kit I had to include Vite 4 to work with SvelteKit next. I also needed to rename typescript on the +page-server files PocketBase 0.9 as a different structure to it, I was getting 404's when creating users. I managed to create a user but as you mentioned they did merge the user + profiles.
@Huntabyte
@Huntabyte 2 жыл бұрын
Check my updated series on my channel on it!
@LowrollerWTF
@LowrollerWTF Жыл бұрын
A series of videos on Pocketbase would be super interesting
@Nordin-w1g
@Nordin-w1g Жыл бұрын
Thanks for this great video! Though it can be hard for complete beginners, you made the steps very very clear. You got yourself a new follower :)
@zhanezar
@zhanezar 2 жыл бұрын
Please do a mini-series , PocketBase & Svelte are amazing, I had 1 question regarding PocketBase, do you know if we can call the database and use it like a CMS ? It seemed like DB was only accessible if you were a registered user.
@Huntabyte
@Huntabyte 2 жыл бұрын
Yes, you have to set some API rules! I will explain that in the next PocketBase video I create!
@UliTroyo
@UliTroyo 2 жыл бұрын
Great video! PocketBase has had my attention since I found out about it (recently). I like the idea of having the ease of use of Firebase just in a tiny self-hosted pocket of the internet.
@parkerAmv
@parkerAmv 2 жыл бұрын
Thank you for this series.
@Huntabyte
@Huntabyte 2 жыл бұрын
You're very welcome!
@cobyjoseph4850
@cobyjoseph4850 2 жыл бұрын
This was great. Perfect pacing.
@Huntabyte
@Huntabyte 2 жыл бұрын
Thank you!
@nonefvnfvnjnjnjevjenjvonej3384
@nonefvnfvnjnjnjevjenjvonej3384 2 жыл бұрын
pbase and sveltekit would be amazing
@agamjotsingh7371
@agamjotsingh7371 2 жыл бұрын
I would love to see pocketbase + sveltekit series
@Huntabyte
@Huntabyte Жыл бұрын
There is one on my channel :)
@rogerpence
@rogerpence Жыл бұрын
This is a very helpful video. Thank you!
@Huntabyte
@Huntabyte Жыл бұрын
You're very welcome!
@simon-olivier1227
@simon-olivier1227 2 жыл бұрын
Yeah mini series sounds very nice.
@cesarmillan2361
@cesarmillan2361 2 жыл бұрын
Thank you. That’s great to me getting stared with pocketbase
@Huntabyte
@Huntabyte 2 жыл бұрын
Check my series I have on it for even more detailed and up to date content!
@zzej
@zzej 2 жыл бұрын
Awesome! Very well explained.
@Huntabyte
@Huntabyte 2 жыл бұрын
THank you!
@matthewvalentine9961
@matthewvalentine9961 2 жыл бұрын
Hey, i was wondering should i be concerned for a no guarantee backwards compatibility. Probably not if I'm just building a creational project right?
@Huntabyte
@Huntabyte 2 жыл бұрын
PocketBase and SvelteKit are both pre 1.0, so that is certainly something to keep in mind when choosing your stack!
@matthewvalentine9961
@matthewvalentine9961 2 жыл бұрын
@@Huntabyte thank you for your help!
@copytopgrade6458
@copytopgrade6458 2 жыл бұрын
Yes please do more 💖💘
@dallenbaldwin3484
@dallenbaldwin3484 2 жыл бұрын
Can you explain why you're throwing the redirects instead of returning them? Is it a SvelteKit-ism I just haven't seen yet?
@Huntabyte
@Huntabyte 2 жыл бұрын
Yes, I believe it is a SvelteKit-ism. Now that I think about it, you 'MAY' be able to return them as well, I'll need to verify that myself first.
@osemudiamhen
@osemudiamhen 2 жыл бұрын
Hi, great tutorial! I love your videos. what vscode theme and icon theme were you using in this video? thank you :)
@Huntabyte
@Huntabyte 2 жыл бұрын
I’m using GitHub dark and material icons!
@osemudiamhen
@osemudiamhen 2 жыл бұрын
@@Huntabyte thank you so much
@guilhermegr39
@guilhermegr39 Жыл бұрын
Great video, I've been following every single tutorial and your teaching is superb! I have one question regarding this video: when initiating a new Pocketbase instance for every request, are we compromising performance? Or is it irrelevant?
@maulanahahaha
@maulanahahaha 2 жыл бұрын
👍👍👍👍👍👍 this is exactly what i need dud, what i was working with right now
@Huntabyte
@Huntabyte 2 жыл бұрын
Glad I could help!
@michaeljohnkozubaljr5521
@michaeljohnkozubaljr5521 2 жыл бұрын
Thanks for this video, it was a big help while I'm getting started with SvelteKit and PocketBase
@Huntabyte
@Huntabyte 2 жыл бұрын
You’re welcome!
@funnynews341
@funnynews341 2 жыл бұрын
Can you do the same video with supabase, i'm getting stuck with getUser and check if user login or not to redirect to home. I use store to save user login info, session. And they get loss when using redirect, but can't use goto function in server
@brianlobo-amaro8958
@brianlobo-amaro8958 2 жыл бұрын
Please do a series on pocketbase!
@Huntabyte
@Huntabyte 2 жыл бұрын
Coming soon!
@PaweArgalski
@PaweArgalski 2 жыл бұрын
Hi, first of all thank you for your work and all the pocketbase / svelte series. But actually I think Im missing the authentication as an admin in the front end. This could be very useful tip for beginners :)
@nawasenasaja
@nawasenasaja Жыл бұрын
great video, but i have a question, how we can refresh the token? thank you
@paundrakkkrishna3214
@paundrakkkrishna3214 2 жыл бұрын
Every 6 days ❤️
@Huntabyte
@Huntabyte 2 жыл бұрын
Haha that is not by design, just a coincidence!
@dbelyaev
@dbelyaev Жыл бұрын
Can you make a video about SvelteKit authentification with Directus?
@ABsazerNer
@ABsazerNer 2 жыл бұрын
what a wonderful series, I how you make a complete app with svelte kit
@Huntabyte
@Huntabyte 2 жыл бұрын
Soon enough!
@fredguth1315
@fredguth1315 Жыл бұрын
Why do you need to create a new instance of pocketbase on every handle call? Couldn't you create only once?
@fabiomangolini
@fabiomangolini Жыл бұрын
great video, now needs an update to new pocketbase auth system released
@weistrass
@weistrass Жыл бұрын
Hi! It would be good an oauth2 tutorial. Since v0.15 oauth2 authentication has been simplified.
@multivitamin7
@multivitamin7 2 жыл бұрын
this is awesome!
@thefarex2641
@thefarex2641 Жыл бұрын
Isn't there a big security issue? We only have the URL to our Pocketable server and nothing else? so no password or security key? And if you get a password reset mail (or mail verification), you will be redirected to this URL to set a new one. So actually everyone can get to this URL and send requests? Or do I have an error in thinking? :D
@xx__xx7199
@xx__xx7199 2 жыл бұрын
very nice thanks 🚀🚀
@Huntabyte
@Huntabyte 2 жыл бұрын
Thank you!
@SteveBClark
@SteveBClark 5 ай бұрын
Hy, how can i change the exp of jwt token in the pocket base of authwithpassword
@scott_itall8638
@scott_itall8638 Жыл бұрын
How would you subscribe to real time events?
@djdankmemes9257
@djdankmemes9257 Жыл бұрын
Does anyone know how to get the folder name to show next to the file tab at the top of VS code? That would help me out a lot working in Sveltekit.
@djdankmemes9257
@djdankmemes9257 Жыл бұрын
Found it! It's in the VS Code preferences.
@Huntabyte
@Huntabyte Жыл бұрын
I was just about to say I believe this is in my 10X SvelteKit VSCode tips video! Glad you found it!
@lahcencodery
@lahcencodery 2 жыл бұрын
Great video
@Huntabyte
@Huntabyte 2 жыл бұрын
Thank you!
@misterjasongraham
@misterjasongraham Жыл бұрын
GREAT SERIES! I'm gettin some errors while following along: Error: TypeError: Cannot read properties of undefined (reading 'create') at register (/src/routes/register/+page.server.js:10:45) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) Error: Data returned from action inside /register is not serializable: Cannot stringify arbitrary non-POJOs (data..message) at try_deserialize (/node_modules/@sveltejs/kit/src/runtime/server/page/actions.js:270:10) (SOME OF THE TRACE REMOVED FOR SPACE)
@Huntabyte
@Huntabyte Жыл бұрын
Checkout my newer video linked in the description!
@timeforrice
@timeforrice Жыл бұрын
Start a series of this pls
@Huntabyte
@Huntabyte Жыл бұрын
View my channel :)
@timeforrice
@timeforrice Жыл бұрын
@@Huntabyte found it
@TUSHARGARG362425
@TUSHARGARG362425 2 жыл бұрын
Good job.
@copytopgrade6458
@copytopgrade6458 2 жыл бұрын
How to check if Cookie is valid and expired
@Huntabyte
@Huntabyte 2 жыл бұрын
Hey there, I'm not at my desk so I can't check the docs right now, but I believe the `loadFromCookie` method handles that for you.
@luispozo6044
@luispozo6044 2 жыл бұрын
Did anyone get around the git clone portion? For mac does not wok. I get this ==> Permission denied (publickey). fatal: Could not read from remote repository. Can someone point me to a solution?
@Huntabyte
@Huntabyte 2 жыл бұрын
Hey there, please visit the repository in the description, then click the green button in the top right and then copy the HTTPS URL. You can replace the git@github.com.... portion with that and it should work just fine!
@luispozo6044
@luispozo6044 2 жыл бұрын
@@Huntabyte Thank you! yeah that's what I ended up doing. When will you release a sveltekit course consuming a public api with dynamic routes, reactivity, store etc... You are the only channel with the most up to date content this might give you an edge and we would love it as well
@Huntabyte
@Huntabyte 2 жыл бұрын
@@luispozo6044 I don't plan on releasing a full course until SvelteKit 1.0 is officially released! Until then, I will continue to cover as many individual topics as I can!
@luispozo6044
@luispozo6044 2 жыл бұрын
@@Huntabyte Awesome! Keep pumping the great content.
@greendsnow
@greendsnow 2 жыл бұрын
But what about oauth2
@paterfamilias01
@paterfamilias01 2 жыл бұрын
Great vid. Can you also do firebase tutorials in the future?
@jpegjpg
@jpegjpg Жыл бұрын
I'm just venting but I HATE when a tutorial only uses JS and not TS. I'm going to spend hours trying to figure out how to circumvent the type errors this code causes
@Huntabyte
@Huntabyte Жыл бұрын
At the time of making those videos I didn't realize how many people used TypeScript. All of my recent content is 100% TypeScript.
@jpegjpg
@jpegjpg Жыл бұрын
@@Huntabyte It's a great tutorial. I did spend an hour trying to figure it out the Local interface is defined in the src/app.d.ts just just have to define everything you want in locals there and it works like a charm
@Huntabyte
@Huntabyte Жыл бұрын
@@jpegjpg Awesome to hear! I have a repo on my github: github.com/huntabyte/projecthunt where I use PocketBase w/ TypeScript if you want to reference that should you get stuck anywhere!
@daylordd0752
@daylordd0752 Жыл бұрын
oh what do i see what do i see, a fellow wsl user, #never makin out of windows
@Codex909
@Codex909 2 жыл бұрын
Would you please create a video with firebase and svelte kit thank you!
@mariuscodori193
@mariuscodori193 2 жыл бұрын
+1
@mr.namazu1023
@mr.namazu1023 2 жыл бұрын
This Self-Host Auth Stuff is killing my motivation.. Supabase, Appwrite and Pocketbase istn working on my linux server because of a lot of diffrent reasons. It doesnt matter how much time i invest into research or questioning.. my problemst didnt get solved :/ a week ago i gave up and just use lucia with a postgres db
@Huntabyte
@Huntabyte 2 жыл бұрын
Have you tried running it in a container instead?
@mr.namazu1023
@mr.namazu1023 2 жыл бұрын
@@Huntabyte Containers were not necessarily the problem. Apart from Supabase, I always had problems with SSL certificates and reverse proxies. Supabase generally had some issues with simple setup and tons of error messages that I couldn't fix. My patience with Linux is unfortunately also incredibly limited :D
@nicholassingh138
@nicholassingh138 2 жыл бұрын
Id actually pay for you to tutor me 👆😌
@nicholassingh138
@nicholassingh138 2 жыл бұрын
Please do supabase
@greendsnow
@greendsnow 2 жыл бұрын
Yeah... nice... Sveltekit... How about Next js? I mean Sveltekit will stay at 97% beta for another year probably...
@xeon7879
@xeon7879 2 жыл бұрын
They have already announced that SvelteKit will leave Beta by the end of the year. It works and won‘t have any breaking changes anymore.
@greendsnow
@greendsnow 2 жыл бұрын
@@xeon7879 ok I take my word back. Long live Sveltekit
@Jake-bh1hm
@Jake-bh1hm Жыл бұрын
couldn't get the create user to work. constantly getting all kinds of internal errors aboutand also additional errors saying " Data returned from action inside /register is not serializable: Cannot stringify arbitrary non-POJOs " but there is no data coming back :(
@Huntabyte
@Huntabyte Жыл бұрын
I have an updated video on this on my channel!
@PhoneRefer
@PhoneRefer 2 жыл бұрын
Very much interested
@monkeymaN4249
@monkeymaN4249 2 жыл бұрын
Hi! Great video, thanks for uploading it. I get a few errors when I try your code: 1. POST localhost:5173/login 500 (Internal Server Error) 2. was created with unknown prop 'data' 3. was created with unknown prop 'form' I tried to find a solution, but wasn't successful. Any idea why this is happening?
@Huntabyte
@Huntabyte 2 жыл бұрын
I just posted a new video with the latest version of PocketBase if that may be of help to you!
@ДенисАкимов-ж8т
@ДенисАкимов-ж8т 2 жыл бұрын
I'm extremely interested in a PocketBase + SvelteKit series
SvelteKit Form Validation with Zod
19:32
Huntabyte
Рет қаралды 20 М.
Protect SvelteKit Routes with Hooks
21:10
Huntabyte
Рет қаралды 61 М.
When you have a very capricious child 😂😘👍
00:16
Like Asiya
Рет қаралды 18 МЛН
Don’t Choose The Wrong Box 😱
00:41
Topper Guild
Рет қаралды 62 МЛН
I built a $5 chat app with Pocketbase & Svelte. Will it scale?
13:34
EASILY Add User Authentication to SvelteKit Using Supabase
14:09
advanced forms with SvelteKit Superforms
9:12
Nev the Dev
Рет қаралды 1,3 М.
The Modern Dev CMS - Pocketbase
25:25
Syntax
Рет қаралды 17 М.
Oh, Auth Doesn't Have to Suck?
7:16
Josh tried coding
Рет қаралды 67 М.
I Tried Every Svelte UI Library
20:57
Joy of Code
Рет қаралды 54 М.
SvelteKit & PocketBase #1 - Authentication & User Management
44:17
The standard library now has all you need for advanced routing in Go.
13:52
SvelteKit API Routes & Endpoints
18:59
Huntabyte
Рет қаралды 36 М.