Skip to content

Commit 223c35e

Browse files
feat: turns on self-signed JWT feature flag (#41)
- [ ] Regenerate this pull request now. PiperOrigin-RevId: 392067151 Source-Link: googleapis/googleapis@06345f7 Source-Link: googleapis/googleapis-gen@95882b3
1 parent 10cdc4f commit 223c35e

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

packages/google-cloud-essentialcontacts/src/v1/essential_contacts_service_client.ts

+6
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,12 @@ export class EssentialContactsServiceClient {
132132
// Save the auth object to the client, for use by other methods.
133133
this.auth = this._gaxGrpc.auth as gax.GoogleAuth;
134134

135+
// Set useJWTAccessWithScope on the auth object.
136+
this.auth.useJWTAccessWithScope = true;
137+
138+
// Set defaultServicePath on the auth object.
139+
this.auth.defaultServicePath = staticMembers.servicePath;
140+
135141
// Set the default scopes in auth client if needed.
136142
if (servicePath === staticMembers.servicePath) {
137143
this.auth.defaultScopes = staticMembers.scopes;

0 commit comments

Comments
 (0)