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 31c1cd6 commit f875a8fCopy full SHA for f875a8f
src/mcp/client/auth/oauth2.py
@@ -468,7 +468,7 @@ async def _initialize(self) -> None: # pragma: no cover
468
self.context.current_tokens = await self.context.storage.get_tokens()
469
self.context.client_info = await self.context.storage.get_client_info()
470
471
- if self.context.current_tokens and self.context.current_tokens.expires_in:
+ if self.context.current_tokens and self.context.current_tokens.expires_in is not None:
472
self.context.update_token_expiry(self.context.current_tokens)
473
474
self._initialized = True
0 commit comments