SvelteKit User Authentication With Auth.js | OAuth 2.0 Authentication

Описание к видео SvelteKit User Authentication With Auth.js | OAuth 2.0 Authentication

🎓 Join my learning platform for module based courses, learning exercises, and more: https://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: https://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

Комментарии

Информация по комментариям в разработке