Next.js Auth Tutorial with RSCs and Server Actions

Ойын-сауық

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
    @chantastic27 күн бұрын

    Love these quick start tutorials @SamSelikoff. You're great at keeping things clear and achievable.

  • @samselikoff

    @samselikoff

    27 күн бұрын

    Thank you brother!

  • @jitx2797
    @jitx279725 күн бұрын

    Really like Sam's way of teaching and explaining things... Good job WorkOS

  • @johnedet2987
    @johnedet298726 күн бұрын

    looks more sleek and better than clerk.. maybe I could use it on my next project

  • @dharylcarryalmora5414
    @dharylcarryalmora541426 күн бұрын

    I love this quick tutorial 🙂 +1 sub

  • @cb73
    @cb7326 күн бұрын

    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

    26 күн бұрын

    Right!

  • @mDHARYL

    @mDHARYL

    26 күн бұрын

    Yes

  • @paul_asjes

    @paul_asjes

    24 күн бұрын

    We've heard you and we're adding this as an option to authkit-nextjs!

  • @kasper369
    @kasper36926 күн бұрын

    Is this like NextAuth? What's the difference

  • @AjaySingh-jz8qx
    @AjaySingh-jz8qx26 күн бұрын

    Guys I tried it and its literally 100x better than clerk

  • @fagnersales532

    @fagnersales532

    26 күн бұрын

    explain

  • @AjaySingh-jz8qx

    @AjaySingh-jz8qx

    26 күн бұрын

    @@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
    @wata199118 күн бұрын

    rip microsoft

Келесі