The issue is I already done a normal email registeration with a username as pawan.
Now if some other user is doing social login and his facebook or gmail username is pawan, the new user is also getting username as "Pawan", which is a case sensitive check. But i dont dont want same usernames like "Pawan", "pawan" or "paWan". It should treat all as one and create a random username out of it.
I am using:
django-graphql-auth==0.3.16
django-graphql-jwt==0.3.0
django-graphql-social-auth==0.1.4
Django==3.2.4

`# Middleware
MIDDLEWARE = [
"corsheaders.middleware.CorsMiddleware",
"django.middleware.cache.UpdateCacheMiddleware",
"django.middleware.security.SecurityMiddleware",
"django.contrib.sessions.middleware.SessionMiddleware",
"django.middleware.common.CommonMiddleware",
"django.middleware.csrf.CsrfViewMiddleware",
"django.contrib.auth.middleware.AuthenticationMiddleware",
"django.contrib.messages.middleware.MessageMiddleware",
"django.middleware.clickjacking.XFrameOptionsMiddleware",
"django.middleware.cache.FetchFromCacheMiddleware",
]`
The issue is I already done a normal email registeration with a username as pawan.
Now if some other user is doing social login and his facebook or gmail username is pawan, the new user is also getting username as "Pawan", which is a case sensitive check. But i dont dont want same usernames like "Pawan", "pawan" or "paWan". It should treat all as one and create a random username out of it.
I am using:
django-graphql-auth==0.3.16
django-graphql-jwt==0.3.0
django-graphql-social-auth==0.1.4
Django==3.2.4
`# Middleware
MIDDLEWARE = [
"corsheaders.middleware.CorsMiddleware",
]`