In the Next.JS SDK documentation under the section Kinde Auth Data - Client the the recommended helper function is useKindeBrowser, and the example uses a function called getKindeBrowserClient and both of them aren't exported from @kinde-oss/kinde-auth-nextjs.
The actual function that seems to be exported is getKindeBrowserClient and I couldn't seem to find a relevant example for it's usage anywhere in the documentatio .
Provide extra context, such as what you were trying to do and your requirements
I found this issue when trying to get the details for an authenticated user on the dashboard page. useKindeBrowserClient keeps on showing null and is always stuck in isLoading state. When I couldn't figure out what the problem was, I tried looking for documentation around the same and couldn't find any.
P.S. still unable to get anything out of useKindeBrowserClient so any advice/help would be greatly appreciated.
If the docs page already exists, please provide a link
Prerequisites
How can we improve the docs or what is missing?
In the Next.JS SDK documentation under the section Kinde Auth Data - Client the the recommended helper function is
useKindeBrowser
, and the example uses a function calledgetKindeBrowserClient
and both of them aren't exported from@kinde-oss/kinde-auth-nextjs
.The actual function that seems to be exported is
getKindeBrowserClient
and I couldn't seem to find a relevant example for it's usage anywhere in the documentatio .Provide extra context, such as what you were trying to do and your requirements
I found this issue when trying to get the details for an authenticated user on the dashboard page.
useKindeBrowserClient
keeps on showingnull
and is always stuck inisLoading
state. When I couldn't figure out what the problem was, I tried looking for documentation around the same and couldn't find any.P.S. still unable to get anything out of
useKindeBrowserClient
so any advice/help would be greatly appreciated.If the docs page already exists, please provide a link
https://docs.kinde.com/developer-tools/sdks/backend/nextjs-sdk/#kinde-auth-data---client