We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1c7a2c4 commit 436e3f9Copy full SHA for 436e3f9
authlib/jose/rfc7519/claims.py
@@ -53,7 +53,7 @@ def __getattr__(self, key):
53
54
def _validate_essential_claims(self):
55
for k in self.options:
56
- if self.options[k].get('essential') and k not in self:
+ if self.options[k].get('essential') and not self.get(k):
57
raise MissingClaimError(k)
58
59
def _validate_claim_value(self, claim_name):
0 commit comments