mirror of
https://github.com/google/nomulus.git
synced 2025-05-14 16:37:13 +02: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:
parent
adf0ce313f
commit
a0f1a8b0bc
1 changed files with 2 additions and 0 deletions
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue