Тёмный

SvelteKit User Authentication With Auth.js | OAuth 2.0 Authentication 

Cooper Codes
Подписаться 12 тыс.
Просмотров 2,8 тыс.
50% 1

🎓 Join my learning platform for module based courses, learning exercises, and more: coderprep.com/
In this video we go into the SvelteKit integration of Auth.js, building an entire authentication system allowing you to use any OAuth 2.0 service. I also show off how to get the access token of a user for a given service, allowing you to communicate with any APIs related to your given OAuth 2.0 service. I decided to use GitHub authentication for this video, but you can really use anything you want. Thanks for watching!
Final project: github.com/coopercodes/svelte...
REMINDER: The GitHub link wont work above unless you create a .env file like shown in the video.
0:00 Project Showcase
1:00 SvelteKit Setup (@auth/sveltekit)
2:41 GitHub OAuth 2.0 Setup
6:30 Adding TailwindCSS (svelte-add tailwindcss)
7:50 Initializing Auth.js and SvelteKit (auth.ts)
11:17 Login User With Auth.js and SvelteKit
17:48 Show Logged In User
19:20 Sign Out User With Auth.js and SvelteKit
20:35 Get User Access Token For OAuth 2.0 Service
23:05 Use User Access Token To Access APIs

Наука

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

 

23 июл 2024

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 14   
@GamerTito21
@GamerTito21 2 месяца назад
This is literally the best and most didactic video I saw so far with authentication. I kinda knew how to do, but I was not understanding why I was doing those stuff lol, thank you very much!!
@Shijith1
@Shijith1 28 дней назад
Thanks for this man!
@lolzthegreat
@lolzthegreat 3 месяца назад
this helped a lot, thanks man :)
@devgauravjatt
@devgauravjatt 3 месяца назад
❤ thank you so much 🎉🎉
@thederpykrafter
@thederpykrafter 3 месяца назад
i got so excited to see a recently uploaded video on the subject ive been struggling with for weeks.. however ive yet again ran into another seemingly-ungooglable issue. i get a type error: invalid URL when attempting to load server data. back to the drawing board i guess.. im trying so hard to love svelte but i cant seem to get any practical use out of it aside from reusable components. any help would be appreciated.
@riigel
@riigel 4 месяца назад
more sveltekit!
@alexnova6239
@alexnova6239 4 месяца назад
session is empty when we run build preview? i have been struggling to fix this or i completely do no understand whats happening everything works fine in Dev but in build preview login success but no session is there?
@prajval37
@prajval37 4 месяца назад
I'm getting the same problem. Did you solve it?
@deema11235
@deema11235 Месяц назад
thanks
@naolfekadu6101
@naolfekadu6101 2 месяца назад
No mongo db? Am having tourble setting up with mongoose
@7maciej7
@7maciej7 3 месяца назад
nice vid! it would be nice if you showed at the end of the video how to get rid of all the @ts-ignore's 😃
@user-px7zi6ry3o
@user-px7zi6ry3o 4 месяца назад
can you create guide with credentials auth?
@gdissleeping5719
@gdissleeping5719 4 месяца назад
can you show with password email im kinda stuck there
@MultiLeechCZ
@MultiLeechCZ 12 дней назад
ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-ehmc1Zgu_EU.html does not work with sveltekit 2 and svelte 5. There is not even anymore
Далее
Beautiful sport😍
00:20
Просмотров 331 тыс.
SvelteKit Authentication with PocketBase
31:50
Просмотров 31 тыс.
SvelteKit Authentication Using Cookies
54:11
Просмотров 27 тыс.
SvelteKit Auth in 15 Minutes
14:10
Просмотров 6 тыс.
Senior Angular Developer Interview (theory)
41:57
Просмотров 12 тыс.
OAuth2 using Google, PocketBase, and SvelteKit
26:56
Samsung laughing on iPhone #techbyakram
0:12
Просмотров 709 тыс.
Здесь упор в процессор
18:02
Просмотров 387 тыс.