From 1330011663bcfd5c9673d627a58e9c750766b6ee Mon Sep 17 00:00:00 2001 From: James Newton-King Date: Tue, 20 Aug 2024 07:23:19 +0800 Subject: [PATCH 1/4] Downgrade Google auth --- Directory.Packages.props | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Directory.Packages.props b/Directory.Packages.props index f8e0a7a8e..c699090cc 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -60,7 +60,7 @@ - + From 70954601c97ece17b4cd5ed923598562f7a14495 Mon Sep 17 00:00:00 2001 From: James Newton-King Date: Tue, 20 Aug 2024 07:34:16 +0800 Subject: [PATCH 2/4] Suppress warning --- src/Grpc.Auth/Grpc.Auth.csproj | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Grpc.Auth/Grpc.Auth.csproj b/src/Grpc.Auth/Grpc.Auth.csproj index 3c8c2b847..896b30520 100755 --- a/src/Grpc.Auth/Grpc.Auth.csproj +++ b/src/Grpc.Auth/Grpc.Auth.csproj @@ -7,6 +7,7 @@ true net462;netstandard2.0 README.md + $(NoWarn);NU1903; From 9684f868f732afdeb0127632553481f9c4e0ccf5 Mon Sep 17 00:00:00 2001 From: James Newton-King Date: Tue, 20 Aug 2024 14:24:43 +0800 Subject: [PATCH 3/4] 1.57.0 --- Directory.Packages.props | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Directory.Packages.props b/Directory.Packages.props index c699090cc..abcd88741 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -60,7 +60,7 @@ - + From 18340ffd70c0ec9ae3dbdfb9c745026b2d387f77 Mon Sep 17 00:00:00 2001 From: James Newton-King Date: Tue, 20 Aug 2024 14:40:59 +0800 Subject: [PATCH 4/4] Update to latest and improve test --- Directory.Packages.props | 2 +- src/Grpc.Auth/Grpc.Auth.csproj | 1 - testassets/Shared/InteropClient.cs | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/Directory.Packages.props b/Directory.Packages.props index abcd88741..f8e0a7a8e 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -60,7 +60,7 @@ - + diff --git a/src/Grpc.Auth/Grpc.Auth.csproj b/src/Grpc.Auth/Grpc.Auth.csproj index 896b30520..3c8c2b847 100755 --- a/src/Grpc.Auth/Grpc.Auth.csproj +++ b/src/Grpc.Auth/Grpc.Auth.csproj @@ -7,7 +7,6 @@ true net462;netstandard2.0 README.md - $(NoWarn);NU1903; diff --git a/testassets/Shared/InteropClient.cs b/testassets/Shared/InteropClient.cs index 3feccd70a..4c996e68c 100644 --- a/testassets/Shared/InteropClient.cs +++ b/testassets/Shared/InteropClient.cs @@ -245,7 +245,7 @@ private async Task CreateCredentialsAsync(bool? useTestCaOve if (options.TestCase == "compute_engine_creds") { var googleCredential = await GoogleCredential.GetApplicationDefaultAsync(); - Assert.IsFalse(googleCredential.IsCreateScopedRequired); + Assert.IsTrue(googleCredential.UnderlyingCredential is ComputeCredential); credentials = ChannelCredentials.Create(credentials, googleCredential.ToCallCredentials()); } #else