Fix python social auth implementation to use session authentication instead of jwt
if user:
if user.is_active:
tokens = get_tokens_for_user(user)
# token, _ = Token.objects.get_or_create(user=user)
return Response(tokens)
This code needs to be replaced with a login function that will set the sessionid
HttpOnly cookie on the client.