kinde-oss / kinde-auth-nextjs

Kinde NextJS SDK - authentication for server rendered apps
https://kinde.com/docs/developer-tools/nextjs-sdk/
MIT License
150 stars 20 forks source link

End of JSON input bug on log out #116

Closed iyifr closed 7 months ago

iyifr commented 8 months ago

Prerequisites

Describe the issue

When the user logs out and the app tries to read the new authentication state, an unexpected error causes the auth state to perpetually load with the error "End of JSON Input" showing up on the client and the error below showing on the server image

Library URL

https://github.com/kinde-oss/kinde-auth-nextjs/

Library version

"^2.1.5"

Operating system(s)

Windows

Operating system version(s)

Windows 11

Further environment details

No response

Reproducible test case URL

No response

Additional information

No response

peterphanouvong commented 8 months ago

Can you see if you can replicate on v2.1.6? I think there was an issue with useKindeBrowserClient in 2.1.5

DanielRivers commented 7 months ago

Closed due to no response in more than 7 days