agr
agr
KKinde
Created by agr on 10/28/2024 in #💻┃support
getIdToken error
Hi! I'm liking Kinde so far but I'm facing an issue implementing it in our NextJS application. Calling getIdToken on the user session always returns null. If I enable debug then I get the following error trace logged:
TypeError: fe(...).getSessionItem is not a function
at eval (webpack-internal:///(rsc)/./node_modules/.pnpm/@[email protected]_@[email protected][email protected]_@[email protected]_react-do_ypeastlutiedb47skrcpxtnhoq/node_modules/@kinde-oss/kinde-auth-nextjs/dist/server/index.js:910:128)
...
TypeError: fe(...).getSessionItem is not a function
at eval (webpack-internal:///(rsc)/./node_modules/.pnpm/@[email protected]_@[email protected][email protected]_@[email protected]_react-do_ypeastlutiedb47skrcpxtnhoq/node_modules/@kinde-oss/kinde-auth-nextjs/dist/server/index.js:910:128)
...
Is this a bug? Am I doing something wrong? Thanks in advance!
24 replies