Skip to content

Commit

Permalink
fix(bigtable): Use new auth library (#10670)
Browse files Browse the repository at this point in the history
  • Loading branch information
bhshkh authored Aug 13, 2024
1 parent 6593c0d commit fab520d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion bigtable/bigtable.go
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,9 @@ func NewClientWithConfig(ctx context.Context, project, instance string, config C
)

// Allow non-default service account in DirectPath.
o = append(o, internaloption.AllowNonDefaultServiceAccount(true))
o = append(o,
internaloption.AllowNonDefaultServiceAccount(true),
internaloption.EnableNewAuthLibrary())
o = append(o, opts...)
connPool, err := gtransport.DialPool(ctx, o...)
if err != nil {
Expand Down

0 comments on commit fab520d

Please sign in to comment.