Next.js Auth Tutorial with RSCs and Server Actions

  Рет қаралды 2,318

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 25 күн бұрын
Love these quick start tutorials @SamSelikoff. You're great at keeping things clear and achievable.
@samselikoff
@samselikoff 25 күн бұрын
Thank you brother!
@johnedet2987
@johnedet2987 24 күн бұрын
looks more sleek and better than clerk.. maybe I could use it on my next project
@jitx2797
@jitx2797 23 күн бұрын
Really like Sam's way of teaching and explaining things... Good job WorkOS
@dharylcarryalmora5414
@dharylcarryalmora5414 24 күн бұрын
I love this quick tutorial 🙂 +1 sub
@cb73
@cb73 25 күн бұрын
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 24 күн бұрын
Right!
@mDHARYL
@mDHARYL 24 күн бұрын
Yes
@paul_asjes
@paul_asjes 22 күн бұрын
We've heard you and we're adding this as an option to authkit-nextjs!
@kasper369
@kasper369 24 күн бұрын
Is this like NextAuth? What's the difference
@AjaySingh-jz8qx
@AjaySingh-jz8qx 24 күн бұрын
Guys I tried it and its literally 100x better than clerk
@fagnersales532
@fagnersales532 24 күн бұрын
explain
@AjaySingh-jz8qx
@AjaySingh-jz8qx 24 күн бұрын
@@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 16 күн бұрын
rip microsoft
Using AuthKit's Headless APIs in Remix
30:21
WorkOS
Рет қаралды 2,9 М.
10 common mistakes with the Next.js App Router
20:37
Vercel
Рет қаралды 168 М.
Don't eat centipede 🪱😂
00:19
Nadir Sailov
Рет қаралды 20 МЛН
маленький брат прыгает в бассейн
00:15
GL Show Russian
Рет қаралды 4,2 МЛН
Laravel's secret weapon: macros (watch me code)
23:46
Aaron Francis
Рет қаралды 13 М.
My Favorite Code "Anti-Patterns" (Break These)
16:52
Conner Ardman
Рет қаралды 25 М.
Is HTMX a Joke??
32:15
Syntax
Рет қаралды 15 М.
NextJS Authentication with Server Actions - Learn to build from scratch!
33:15
Life After SQL (EdgeDB Is Fascinating)
15:40
Theo - t3․gg
Рет қаралды 52 М.
Next.js App vs. Pages Router - Which One is Better?
7:31
Josh tried coding
Рет қаралды 48 М.
5 Tips and Tricks To Make Your Life With Next js 14 Easier
17:11
developedbyed
Рет қаралды 23 М.
where is the ball to play this?😳⚽
0:13
LOL
Рет қаралды 14 МЛН
ТАК ДОБЫВАЮТ ДЕЛИКАТЕС (@lepetitmoulier - TikTok)
0:16
В ТРЕНДЕ
Рет қаралды 20 МЛН
Алдараспан 2024 концерт| Жаңа концерт | Толық нұсқа
3:0:19
Алдараспан театры-Нуржан Толендиев
Рет қаралды 1,5 МЛН