We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1fd5a25 commit 81f8d08Copy full SHA for 81f8d08
reflex_azure_auth/oidc.py
@@ -95,7 +95,9 @@ async def verify_jwt(
95
)
96
# expiration check
97
exp = claims.get("exp")
98
- if exp is None or int(exp) < int(datetime.datetime.now(datetime.timezone.utc).timestamp()):
+ if exp is None or int(exp) < int(
99
+ datetime.datetime.now(datetime.timezone.utc).timestamp()
100
+ ):
101
raise RuntimeError("Token expired")
102
return claims
103
0 commit comments