When following this AWS tutorial for Next.js + Auth0 integration (https://aws.amazon.com/blogs/mobile/how-to-build-next-js-apps-with-authentication-using-aws-amplify-and-auth0/), the npx ampx sandbox command fails due to a mismatch between the data schema authorization and auth configuration.
Failed to instantiate data construct
Caused By: @auth directive with 'userPools' provider found, but the project has no Cognito User Pools authentication provider configured.
The approach in the article seems very different from what is laid out in the docs: https://docs.amplify.aws/react/build-a-backend/auth/advanced-workflows/
Can anyone tell if the integration outlined in this article (https://aws.amazon.com/blogs/mobile/how-to-build-next-js-apps-with-authentication-using-aws-amplify-and-auth0/) is valid?