from rest_framework import serializers


class UserSerializer(serializers.Serializer):
    username = serializers.CharField(max_length=255)
    email = serializers.CharField(max_length=255)
    id = serializers.IntegerField()

from rest_framework import serializers


class UserSerializer(serializers.Serializer):
    username = serializers.CharField(max_length=200)
    id = serializers.IntegerField()

Revert "Try to add email to OAuth response"
Revert "Try to add email to OAuth response"

This reverts commit 91a047755a66dc2cf0e029b1de606b94925dd297.

  from rest_framework import serializers
  
  
  class UserSerializer(serializers.Serializer):
-     username = serializers.CharField(max_length=255)
+     username = serializers.CharField(max_length=200)
-     email = serializers.CharField(max_length=255)
      id = serializers.IntegerField()
  
Revert "Try to add email to OAuth response"
## Code Before:
from rest_framework import serializers


class UserSerializer(serializers.Serializer):
    username = serializers.CharField(max_length=255)
    email = serializers.CharField(max_length=255)
    id = serializers.IntegerField()

## Instruction:
Revert "Try to add email to OAuth response"
## Code After:
from rest_framework import serializers


class UserSerializer(serializers.Serializer):
    username = serializers.CharField(max_length=200)
    id = serializers.IntegerField()
