mirror of
https://github.com/actions/runner.git
synced 2025-12-13 19:03:44 +00:00
Add option in OAuthCred to load authUrlV2. (#3777)
This commit is contained in:
@@ -570,7 +570,7 @@ namespace GitHub.Runner.Listener
|
||||
|
||||
// Create connection
|
||||
var credMgr = HostContext.GetService<ICredentialManager>();
|
||||
var creds = credMgr.LoadCredentials();
|
||||
var creds = credMgr.LoadCredentials(allowAuthUrlV2: false);
|
||||
|
||||
if (string.IsNullOrEmpty(messageRef.RunServiceUrl))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user