0Pricing
Sveltejs Academy · Lesson

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

  1. Cookie-Based Sessions
  2. JWT in HTTP-Only Cookies
  3. Protected Routes in handle() Hook
  4. OAuth with SvelteKit and Lucia Auth
← Back to Sveltejs Academy