NextJS 12.2.X upgrade breaks `getUserByCookie`

Upgrading to latest NextJS release breaks getUserByCooke and shows cookie not found even when authenticated. This is due to updates made to the NextRequest type.
Not a huge deal since you can use the auth-helpers-nextjs
getUser
in it's place, but thought I should share this.
I know auth-helpers-nextjs does not currently support NextJS 12.2.X, but I have a PR open with the required updates.
Was this page helpful?