Next js App Router Authentication with AuthKit

preview_player
Показать описание

Рекомендации по теме
Комментарии
Автор

Error: You are calling `getUser` on a path that isn’t covered by the AuthKit middleware. Make sure it is running on all paths you are calling `getUser` from by updating your middleware config in `middleware.(js|ts)`. I am getting this error every time, I tried all the methods...

vvvvvvvvvvvvvgggggg
Автор

will love to learn more role based auth

Learnwithjoseph
Автор

Hey Awesome Vide.

Auth is one of the stages of a product.
Can you create a video, lets say once the user is logged in and I want to save the user to a database and then perform actions on the users. For example, lets say a shooping app with users saving/wishlisting their items, how do I link the authenticated user stored in a dabatase and perform this action

Would love to see such videos

ShyamnaikGuguloth
Автор

FWIW, this is all server side. Getting signout via client component took some sorting out. This should be clearer in docs. (Also passing user props to client, etc).

AndrewKaiser-gwts
Автор

went wrong", "description":"Couldn’t sign in. If you are not sure what happened, please contact your organization admin."}}
this error get

LiveWithCodeAnkit
Автор

Hi sir. I got a fetch failed error 500 after sign in, and I still got my user record in user management fro workos. Can you please help on this?

laihan
Автор

Meanwhile, NextAuth is still in beta.

LutherDePapier
Автор

So, i'm a little lost. forgive me.
I can only make one App?

ktappdev