Next.js Discord

Discord Forum

503 issue_api/auth/_log

Unanswered
Great golden digger wasp posted this in #help-forum
Open in Discord
Great golden digger waspOP
Hi everyone,

In my Next.js app using NextAuth.js (auth library), I'm seeing a request to /api/auth/

5 Replies

Great golden digger waspOP
What is the solution for that, how can we restrict that
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