aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorGravatar Jan Tattermusch <jtattermusch@google.com>2015-09-03 18:40:42 -0700
committerGravatar Jan Tattermusch <jtattermusch@google.com>2015-09-03 18:40:42 -0700
commitee0ef4dfde3176a8f7a136b7728eb69757ef0ea9 (patch)
tree6998feb035744f34e05b5a4e10cf708c6ca679a8 /src
parentb26972fab46cb8ef26945372b1f26942cd41972d (diff)
ugly fix of per_rpc_creds test
Diffstat (limited to 'src')
-rw-r--r--src/csharp/Grpc.IntegrationTesting/InteropClient.cs4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/csharp/Grpc.IntegrationTesting/InteropClient.cs b/src/csharp/Grpc.IntegrationTesting/InteropClient.cs
index 830206bea2..34d5157d3e 100644
--- a/src/csharp/Grpc.IntegrationTesting/InteropClient.cs
+++ b/src/csharp/Grpc.IntegrationTesting/InteropClient.cs
@@ -396,7 +396,9 @@ namespace Grpc.IntegrationTesting
Console.WriteLine("running per_rpc_creds");
ITokenAccess credential = await GoogleCredential.GetApplicationDefaultAsync();
- string accessToken = await credential.GetAccessTokenForRequestAsync();
+ // TODO: currently there's no way how to obtain AuthURI for JWT per-rpc creds.
+ string authUri = "https://grpc-test.sandbox.google.com/grpc.testing.TestService";
+ string accessToken = await credential.GetAccessTokenForRequestAsync(authUri);
var headerInterceptor = AuthInterceptors.FromAccessToken(accessToken);
var request = new SimpleRequest