Closed f1shy-dev closed 1 month ago
Thanks for the report! We'll look into this. The fix should be easy enough, just want to make sure that awaiting that getter is backwards compatible with older versions of Next.
This issue is preventing us from moving to Next 15
Now Next.js 15 is stable - so I think it's safe to change this and await the cookie: https://github.com/workos/authkit-nextjs/blob/7fa52f555fdad62a2e76579d6739e067acbfd059/src/session.ts#L105
Made a small PR for you to check https://github.com/workos/authkit-nextjs/pull/118
Thanks, we're working on this right now and hope to get a fix out today.
Thanks for the quick response! ❤️ So no need to patch-package 🎉
Latest NextJS canary beta is showing these errors, using AuthKit and getUser()
Likely a simple change that needs to be made inside authkit-nextjs?