Javascript – use next Auth to store session at time of registration using email and password
I am using email, password and username to register user and storing in mongodb. I want to use next Auth to store sessions at time of registration also. I want to redirect user in same way at registration in same…