File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -517,16 +517,16 @@ async def async_auth_flow(self, request: httpx.Request) -> AsyncGenerator[httpx.
517
517
# Step 2: Discover OAuth metadata (with fallback for legacy servers)
518
518
discovery_urls = self ._get_discovery_urls ()
519
519
for url in discovery_urls :
520
- request = self ._create_oauth_metadata_request (url )
521
- response = yield request
520
+ oauth_metadata_request = self ._create_oauth_metadata_request (url )
521
+ oauth_metadata_response = yield oauth_metadata_request
522
522
523
- if response .status_code == 200 :
523
+ if oauth_metadata_response .status_code == 200 :
524
524
try :
525
- await self ._handle_oauth_metadata_response (response )
525
+ await self ._handle_oauth_metadata_response (oauth_metadata_response )
526
526
break
527
527
except ValidationError :
528
528
continue
529
- elif response .status_code != 404 :
529
+ elif oauth_metadata_response .status_code != 404 :
530
530
break # Non-404 error, stop trying
531
531
532
532
# Step 3: Register client if needed
You can’t perform that action at this time.
0 commit comments