Add company welcome and verified NetKingdom sign-in
Assistant: codex Assistant-Model: gpt-6-astra Assistant-Session: 01a092fe-13b1-7f12-ac74-7d258af4d79c
This commit is contained in:
parent
4175709024
commit
8be281025b
17 changed files with 1044 additions and 23 deletions
|
|
@ -23,3 +23,13 @@ class Mitarbeiter(AbstractUser):
|
|||
class Meta:
|
||||
verbose_name = 'Mitarbeiter'
|
||||
verbose_name_plural = 'Mitarbeiter'
|
||||
|
||||
|
||||
class OIDCIdentity(models.Model):
|
||||
issuer = models.CharField(max_length=512)
|
||||
subject = models.CharField(max_length=512)
|
||||
user = models.OneToOneField(Mitarbeiter, on_delete=models.PROTECT)
|
||||
|
||||
class Meta:
|
||||
constraints = [models.UniqueConstraint(fields=['issuer', 'subject'],
|
||||
name='unique_oidc_identity')]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue