“auth” is not a valid Route export field
I am using Next.js v14 and next-auth v5 beta.
I have this in my route.tsx
placed in app/api/auth/[...nextauth]/
directory:
Is there any way to automatically redirect to the IdP sign-in page when open protected page in Next.js with Auth.js
I’m developing a web site with [email protected] and Auth.js([email protected]).