OAuth with SvelteKit and Lucia Auth
Add social login with OAuth providers using the Lucia auth library.
OAuth Flow
OAuth lets users log in with Google, GitHub, etc. without sharing passwords with your app.
Lucia Auth
Lucia is a popular auth library for SvelteKit, simplifying sessions, OAuth, and CSRF.
All lessons in this course
- Cookie-Based Sessions
- JWT in HTTP-Only Cookies
- Protected Routes in handle() Hook
- OAuth with SvelteKit and Lucia Auth