[Code snippet] Django rest framework social oauth2 user sign up and sign in

At my serializers.py I have got the following: from django.contrib.auth.models import User from rest_framework import serializers     class UserSerializer(serializers.ModelSerializer):     class Meta:         model = User         fields = (‘username’, ’email’, ‘password’)     def create(self, validated_data):         return User.objects.create_user(**validated_data) at my views.py I have […]