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 @@ -315,11 +315,11 @@ def github_oidc_azure(cfg: 'Config') -> Optional[CredentialsProvider]:
315315 token_endpoint = cfg .oidc_endpoints .token_endpoint
316316 cfg .azure_tenant_id = token_endpoint .replace (aad_endpoint , '' ).split ('/' )[0 ]
317317 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 )
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 )
323323
324324 def refreshed_headers () -> Dict [str , str ]:
325325 token = inner .token ()
You can’t perform that action at this time.
0 commit comments