[Answered ]-How can I log a user in without password in django?

1👍

login takes a User object, you do not have to call authenticate to retrieve the user if you really don’t want to validate the user

user = User.objects.get(email=email)
login(request, user)

Leave a comment