mirror of
https://github.com/google/nomulus
synced 2026-01-08 07:11:44 +00:00
Copy two more fields when building delegated admin GoogleCredential
The absence of the service account scopes was causing a NullPointerException when the Google groups syncing action was running. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=131870610
This commit is contained in:
@@ -224,6 +224,8 @@ public final class Modules {
|
||||
.setJsonFactory(googleCredential.getJsonFactory())
|
||||
.setServiceAccountId(googleCredential.getServiceAccountId())
|
||||
.setServiceAccountPrivateKey(googleCredential.getServiceAccountPrivateKey())
|
||||
.setServiceAccountProjectId(googleCredential.getServiceAccountProjectId())
|
||||
.setServiceAccountScopes(googleCredential.getServiceAccountScopes())
|
||||
.setServiceAccountUser(googleAppsAdminEmailAddress)
|
||||
.build();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user