Got error 500 when trying to login

i am a beginner learnt auth0 just recently and this is my first time doing an app with it
anyway the problem is, i deployed my next js app which uses auth0 but i got " error 500 " when try to reach “api/auth/login” it works on localhost but not on deployment


It’s hard to know exactly why this is happening without a bit more information.

Are you getting the error when you are trying to reach one of your endpoints? That would suggest something is wrong on your web server.

Just solved it, i forgot .env.production file i put it and redeployed the app and it works just fine


1 Like

Thanks for providing an update!

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.