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 8639061 commit 83baf8fCopy full SHA for 83baf8f
oauth2_cli_auth/http_server.py
@@ -201,7 +201,7 @@ def get_code(self):
201
def callback_url(self):
202
return f"http://localhost:{self.server_port}"
203
204
- def wait_for_code(self, attempts: int = 3, timeout_per_attempt=10) -> Optional[int]:
+ def wait_for_code(self, attempts: int = 3, timeout_per_attempt=10) -> Optional[str]:
205
"""
206
Wait for the server to open the callback page containing the code query parameter.
207
0 commit comments