from django.contrib.auth.models import User from django.db import models class OIDCUser(models.Model): uuid = models.UUIDField(primary_key=True) user = models.OneToOneField(User, on_delete=models.CASCADE)