Skip to content
This repository was archived by the owner on Jun 12, 2021. It is now read-only.

Commit a77af6c

Browse files
committed
When the endpoint has been found, stop!
1 parent 5b3a144 commit a77af6c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/oidcservice/oauth2/provider_info_discovery.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@ def _store_endpoint(srvs, key, val):
8585
# endpoint names used in the provider info
8686
if _srv.endpoint_name == key:
8787
_srv.endpoint = val
88+
break
8889

8990
def _set_endpoints(self, resp):
9091
"""

0 commit comments

Comments
 (0)