show error on same page | creds provider
Unanswered
Naeemgg posted this in #help-forum
NaeemggOP
Hey guys I'm using next auth with all the routes as protected so user can't visit home page also. When some error is occurring user is redirected to some
/api/something_related_to_nextaurh page. With signIn function it is very easy to handle but I don't know how to set redirect to false in authOptions.