Auth working in dev but not in prod ?
Unanswered
Genio posted this in #help-forum
GenioOP
Hey,
So i implemented auth correctly in dev, but when i pushed it to prod on my server i keep getting
the authorize function in the authOptions works perfectly and i can see the logged results in the terminal. However i keep getting 502 errors
i provided a photo from my networks tab after logging in.
using next-auth version 4.24.7
So i implemented auth correctly in dev, but when i pushed it to prod on my server i keep getting
Uncaught (in promise) SyntaxError: Unexpected token '<', "<html> <h"... is not valid JSONthe authorize function in the authOptions works perfectly and i can see the logged results in the terminal. However i keep getting 502 errors
i provided a photo from my networks tab after logging in.
using next-auth version 4.24.7