503 issue_api/auth/_log
Unanswered
Great golden digger wasp posted this in #help-forum
Great golden digger waspOP
Hi everyone,
In my Next.js app using NextAuth.js (auth library), I'm seeing a request to /api/auth/
In my Next.js app using NextAuth.js (auth library), I'm seeing a request to /api/auth/
5 Replies
@Great golden digger wasp Hi everyone,
In my Next.js app using NextAuth.js (auth library), I'm seeing a request to /api/auth/
Yes, that’s how next-auth works…?
Great golden digger waspOP
What is the solution for that, how can we restrict that
@Great golden digger wasp What is the solution for that, how can we restrict that
why do you want to do it?
Great golden digger waspOP
We don't to want to get the 503 issue for the users, it affects the user expereince
@Great golden digger wasp We don't to want to get the 503 issue for the users, it affects the user expereince
There must be something wrong with the way you deploy your app, because if you set up next-auth correctly, it will not return 503 for /api/auth/* endpoints
Note that you cannot use static export for apps using next-auth. next-auth requires a server
Note that you cannot use static export for apps using next-auth. next-auth requires a server