Compatibility of auth0-lock with Next.js Serverless Deployment

My team and I are building a Next.js app and want to utilize the auth0-lock embedded login method. We plan to utilize a serverless deployment model with user information available on the backend.

I’ve reviewed many of the Auth0 blog articles related to authentication in Next.js, but I’m still unsure of what’s considered best practice for our situation. This article suggests using @auth0/nextjs-auth0, but this SDK is still experimental and I’m not sure that it supports embedded login.

Is it currently possible to use an embedded login method in our type of serverless Next.js project? If so, which Auth0 tools/SDKs should be used?

Thank you in advance!

I am currently working on a similar project that requires embedded login in the context of a NextJS application. It would be great if the admins can comment on this thread.