Skip to content

Commit 9a0bf5c

Browse files
committed
Auth: set the service connection for ADO OIDC
1 parent fa1286b commit 9a0bf5c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

sdk/auth/auth.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@ func NewAuthorizerFromCredentials(ctx context.Context, c Credentials, api enviro
100100
Environment: c.Environment,
101101
IdTokenRequestUrl: c.OIDCTokenRequestURL,
102102
IdTokenRequestToken: c.OIDCTokenRequestToken,
103+
ServiceConnectionId: c.ADOPipelineServiceConnectionID,
103104
TenantId: c.TenantID,
104105
}
105106
a, err := NewADOPipelineOIDCAuthorizer(context.Background(), opts)

0 commit comments

Comments
 (0)