Skip to content

Commit

Permalink
Merge 4368ed3 into 108601e
Browse files Browse the repository at this point in the history
  • Loading branch information
murgatroid99 committed Oct 12, 2020
2 parents 108601e + 4368ed3 commit 5b6e7ce
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/interop/interop_client.js
Original file line number Diff line number Diff line change
Expand Up @@ -464,6 +464,10 @@ function oauth2Test(client, done, extra) {
}

function perRpcAuthTest(client, done, extra) {
var arg = {
fill_username: true,
fill_oauth_scope: true
};
const creds = grpc.credentials.createFromGoogleCredential(new GoogleAuth({scopes: extra.oauth_scope}));
client.unaryCall(arg, {credentials: creds}, function(err, resp) {
assert.ifError(err);
Expand Down

0 comments on commit 5b6e7ce

Please sign in to comment.