auth0 / nextjs-auth0

Next.js SDK for signing in with Auth0

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

You forgot to wrap your app in <UserProvider> in Next.js 14

mrcwinn opened this issue · comments

Checklist

Description

I'm seeing the error "You forgot to wrap your app in " in Next.js 14. My hunch is that it's related to server actions, which are no longer experimental.

Reproduction

  1. npx create-next-app@latest
  2. Follow Auth0 QuickStart guide
  3. npm run dev
  4. Observe error

Additional context

No response

nextjs-auth0 version

3.2.0

Next.js version

14.0.2

Node.js version

18.18.0

Hi @mrcwinn - thanks for raising this

It's unlikely to be Sever Actions since we don't include Server Actions in the QuickStart.

I can't reproduce your issue with the steps you've shared - could you share a repo that demonstrates the issue and I'd be happy to investigate

Closing, happy to reopen if you want to share a repo that demonstrates the issue