Skip to content

Commit a69e43a

Browse files
committed
XXX fix deprecation warning
1 parent 6a901bf commit a69e43a

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

contrib/entra_validator/entra_validator.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,11 @@ def validate(token, *, issuer, required_scopes) -> dict:
6262
jwk.key,
6363
algorithms=["RS256"],
6464
audience=AUDIENCE,
65-
strict_aud=True,
6665
issuer=issuer,
67-
require=["exp", "iat", "tid", "scp"],
66+
options=dict(
67+
strict_aud=True,
68+
require=["exp", "iat", "tid", "scp"],
69+
),
6870
)
6971
print(claims, file=sys.stderr)
7072

0 commit comments

Comments
 (0)