Build a SaaS with SvelteKit
Buy now
Learn more
Overview
Links
Code
Setup
Setup SvelteKit & Prisma
Segmenting routes & adding layouts
Authentication
What is Auth.js?
Setup Auth.js
Configure OAuth provider
Add the Prisma adapter
Client-side authentication
Server-side authentication
Plans & Pricing
Setup pricing with Stripe
Add a data model
Add a pricing page
Add plan data to the session
Control access based on plans
Payments
Create a checkout flow
Sync subscriptions
Handle subscription webhooks
Add Stripe customer portal
Products
Course
Section
Authentication
Authentication
Build a SaaS with SvelteKit
Buy now
Learn more
Overview
Links
Code
Setup
Setup SvelteKit & Prisma
Segmenting routes & adding layouts
Authentication
What is Auth.js?
Setup Auth.js
Configure OAuth provider
Add the Prisma adapter
Client-side authentication
Server-side authentication
Plans & Pricing
Setup pricing with Stripe
Add a data model
Add a pricing page
Add plan data to the session
Control access based on plans
Payments
Create a checkout flow
Sync subscriptions
Handle subscription webhooks
Add Stripe customer portal
Add authentication using Vercel's Auth.js
6 Lessons
What is Auth.js?
Setup Auth.js
Configure OAuth provider
Add the Prisma adapter
Client-side authentication
Server-side authentication