Next.js Auth Tutorial with RSCs and Server Actions

  Рет қаралды 3,005

WorkOS

WorkOS

Күн бұрын

This tutorial with @samselikoff covers the following:
▶ Getting started using the Authkit - Next.js integration library: github.com/workos/authkit-nextjs
▶ Setting up environment variables, configuring the callback route and middleware, implementing signIn and signOut functionality
▶ Protecting routes in the Next.js app from unauthenticated users with the getUser function

Пікірлер: 16
@chantastic
@chantastic Ай бұрын
Love these quick start tutorials @SamSelikoff. You're great at keeping things clear and achievable.
@samselikoff
@samselikoff Ай бұрын
Thank you brother!
@johnedet2987
@johnedet2987 Ай бұрын
looks more sleek and better than clerk.. maybe I could use it on my next project
@jitx2797
@jitx2797 Ай бұрын
Really like Sam's way of teaching and explaining things... Good job WorkOS
@cb73
@cb73 Ай бұрын
I don’t like the idea of collocating auth checks on the pages themselves. It would be very easy to forget to protect a page. It happens all the time to the best of us. Particularly at the API level where it’s harder to detect that you accidentally made it public. I would lock everything down with middleware and then only white list the pages you want to be public.
@a7kerkh
@a7kerkh Ай бұрын
Right!
@mDHARYL
@mDHARYL Ай бұрын
Yes
@paul_asjes
@paul_asjes Ай бұрын
We've heard you and we're adding this as an option to authkit-nextjs!
@dharylcarryalmora5414
@dharylcarryalmora5414 Ай бұрын
I love this quick tutorial 🙂 +1 sub
@kasper369
@kasper369 Ай бұрын
Is this like NextAuth? What's the difference
@AjaySingh-jz8qx
@AjaySingh-jz8qx Ай бұрын
Guys I tried it and its literally 100x better than clerk
@fagnersales532
@fagnersales532 Ай бұрын
explain
@AjaySingh-jz8qx
@AjaySingh-jz8qx Ай бұрын
@@fagnersales532 1) Fully Customizable theme 2) No more clock skew error bullshit in development like clerk 3) easy to integrate db alongside auth flow
@wata1991
@wata1991 Ай бұрын
rip microsoft
Next.js 14 Tutorial - 7 - Dynamic Routes
7:55
Codevolution
Рет қаралды 128 М.
1 класс vs 11 класс (неаккуратность)
01:00
How many pencils can hold me up?
00:40
A4
Рет қаралды 18 МЛН
I Need Your Help..
00:33
Stokes Twins
Рет қаралды 147 МЛН
Supabase and NextJS 14:  Auth and Server Actions
1:19:31
Jolly Coding
Рет қаралды 4,9 М.
DejaVue #E010 - Design Patterns in Vue.js
29:39
DejaVue
Рет қаралды 423
Using AuthKit's Headless APIs in Remix
30:21
WorkOS
Рет қаралды 3 М.
Laravel vs React
9:40
Aaron Francis
Рет қаралды 39 М.
Setup Google OAuth sign in 6 minutes
6:51
Appwrite
Рет қаралды 8 М.
10 common mistakes with the Next.js App Router
20:37
Vercel
Рет қаралды 177 М.
🍪 Compartilhar é Cuidar:  Biscoito que Ensina a Compartilhar
0:13
Músicas Infantis LooLoo Divertidas
Рет қаралды 130 МЛН
Gold vs Silver Brushing Routine
0:33
Dental Digest
Рет қаралды 37 МЛН
Old man prank 🤫 #workout
0:44
Alisher Style
Рет қаралды 3,7 МЛН
I Know How To Get My Favorite Ice Cream From My Mom🤭😎
0:17
Giggle Jiggle
Рет қаралды 15 МЛН
Чья эта клубника ?
0:30
ЛогикЛаб
Рет қаралды 3,1 МЛН
Omega Boy Past 3 #funny #viral #comedy
0:22
CRAZY GREAPA
Рет қаралды 34 МЛН