isAuthenticated === false vs user === null
Is there any difference (maybe performance?) between:
and
?
Daniel_Kinde•19d ago
Nothing measurable, more guagued around usage.
isAuthenticated checks if the user exists and returns boolean user returns the user itself
isAuthenticated checks if the user exists and returns boolean user returns the user itself
1KMembers
View on DiscordWant results from more Discord servers?
More PostsMulti-factor auth using SMS - Where is the user's phone number stored?I enabled "Multi-factor authentication". The first time I logged in using Google, I was asked to entProtecting routes in Next.js App Router middlewareDocs at https://kinde.com/docs/developer-tools/nextjs-sdk/#protect-routes-using-middleware mention:
User's first and last names are overridden when user logs in using GoogleAfter user signs up using Google, their first and last names in KindeUser are pre-populated from the`await getUser()` doesn't return the first and last nameIn my Next.js App Router application, in a page component, I get the user:
```
const { getUser } = g