diff --git a/mozilla_django_oidc_db/fields.py b/mozilla_django_oidc_db/fields.py index 9d6e318..d141fb3 100644 --- a/mozilla_django_oidc_db/fields.py +++ b/mozilla_django_oidc_db/fields.py @@ -33,6 +33,9 @@ def __eq__(self, other) -> bool: def __call__(self) -> list[str]: return self.bits + def __hash__(self) -> int: + return hash(tuple(self.bits)) + class ClaimField(ArrayField): """