File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -314,11 +314,12 @@ def github_oidc_azure(cfg: 'Config') -> Optional[CredentialsProvider]:
314314 # detect Azure AD Tenant ID if it's not specified directly
315315 token_endpoint = cfg .oidc_endpoints .token_endpoint
316316 cfg .azure_tenant_id = token_endpoint .replace (aad_endpoint , '' ).split ('/' )[0 ]
317- inner = ClientCredentials (client_id = cfg .azure_client_id ,
318- client_secret = "" , # we have no (rotatable) secrets in OIDC flow
319- token_url = f"{ aad_endpoint } { cfg .azure_tenant_id } /oauth2/token" ,
320- endpoint_params = params ,
321- use_params = True )
317+ inner = ClientCredentials (
318+ client_id = cfg .azure_client_id ,
319+ client_secret = "" , # we have no (rotatable) secrets in OIDC flow
320+ token_url = f"{ aad_endpoint } { cfg .azure_tenant_id } /oauth2/token" ,
321+ endpoint_params = params ,
322+ use_params = True )
322323
323324 def refreshed_headers () -> Dict [str , str ]:
324325 token = inner .token ()
You can’t perform that action at this time.
0 commit comments