I am building a private website in NextJs and a cloud instance of Mongodb. I am confused about how to do authentication.
NextJs
Mongodb