Auth0 V2 migration update (#45302)
## Documentation / Examples
- [x] Make sure the linting passes by running `pnpm build && pnpm lint`
- [x] The "examples guidelines" are followed from [our contributing doc](https://github.com/vercel/next.js/blob/canary/contributing/examples/adding-examples.md)
Hi Next.js team,
This PR aims to update examples/auth0 with Auth0 V2 and fix profile api console error.
https://github.com/auth0/nextjs-auth0/blob/v2.0.0/V2_MIGRATION_GUIDE.md
Thanks for the review.