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.
2 parents 2a778c5 + 7f26f69 commit bccfd78Copy full SHA for bccfd78
office365/runtime/auth/authentication_context.py
@@ -47,7 +47,7 @@ def __init__(self, url, environment=None, allow_ntlm=False, browser_mode=False):
47
self._environment = environment
48
self._allow_ntlm = allow_ntlm
49
self._browser_mode = browser_mode
50
- self._token_expires = datetime.max
+ self._token_expires = datetime.max.replace(tzinfo=timezone.utc)
51
52
def with_client_certificate(
53
self,
0 commit comments