Welcome to the Kinde community

Updated 9 months ago

NextJs useKindeBrowserClient getUser function

At a glance

A community member is using the latest version of the Kinde SDK for NextJS and is encountering an issue where the getUser function cannot be destructured when using useKindeBrowserClient(). Another community member responds that they are using version @kinde-oss/kinde-auth-nextjs": "^2.2.3" and that they will look into the issue. A link to a pull request for a fix is provided, but there is no explicitly marked answer in the comments.

Useful resources
Hello so i'm on NextJ using the latest version of kinde SDK and i found out that when using useKindeBrowserClient() we could destructure "getUser" function but it throws an error
Attachments
image.png
image.png
1
A
I
p
4 comments
I am getting a team member to look at this one for you. What Kinde NextJS SDK version are you using?
I'm using this one
Plain Text
    "@kinde-oss/kinde-auth-nextjs": "^2.2.3", 
Ah okay, thanks for raising this, I'll have a look
Add a reply
Sign up and join the conversation on Discord