You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 11 Next »


External System


Grouper uses directory APIs to manage groups: https://developers.google.com/admin-sdk/directory/v1/guides/manage-groups. Group fields and attributes are below.

Additional settings

Grouper nameAttribute or fieldTypeRequired?Description
idfieldStringrequiredUUID read from GCP. Select only.
namefieldStringrequiredName of the group in GCP.
emailattributeStringrequiredUnique email address of the group
descriptionattributeStringoptionalDescription of the group
whoCanAddattributeStringoptionalValid values are listed at https://developers.google.com/admin-sdk/groups-settings/v1/reference/groups#resource
whoCanJoinattributeStringoptionalValid values are listed at https://developers.google.com/admin-sdk/groups-settings/v1/reference/groups#resource
whoCanViewMembershipattributeStringoptionalValid values are listed at https://developers.google.com/admin-sdk/groups-settings/v1/reference/groups#resource
whoCanViewGroupattributeStringoptionalValid values are listed at https://developers.google.com/admin-sdk/groups-settings/v1/reference/groups#resource
whoCanInviteattributeStringoptionalValid values are listed at https://developers.google.com/admin-sdk/groups-settings/v1/reference/groups#resource
allowExternalMembersattributeBooleanoptionalValid values are listed at https://developers.google.com/admin-sdk/groups-settings/v1/reference/groups#resource
whoCanPostMessageattributeStringoptionalValid values are listed at https://developers.google.com/admin-sdk/groups-settings/v1/reference/groups#resource
allowWebPostingattributeBooleanoptionalValid values are listed at https://developers.google.com/admin-sdk/groups-settings/v1/reference/groups#resource

Grouper uses directory APIs to manage users: https://developers.google.com/admin-sdk/directory/v1/guides/manage-users. User fields and attributes are below.

Grouper nameAttribute or fieldTypeRequired?Description
idfieldStringrequiredUUID read from GCP. Select only.
emailfieldStringrequiredemail address of the user. In GCP, it's called primaryEmail.
familyNameattributeStringrequiredFamily name (Last name)
givenNameattributeStringrequiredGiven name (First name)

Configure GCP for development purposes

  • Signup for GCP
  • Go to IAM & Admin → Groups
  • It will say "This feature requires an organization" and at the bottom of the screen, click the button "GO TO THE CHECKLIST"
  • Follow the instructions to set up cloud identity, verify your domain.
  • In the project allow admin SDK
  • Go back to https://console.cloud.google.com/ IAM & Admin.
  • Under IAM → Permissions, add a new Principal with role Owner.
  • On the left, click on Service Accounts. Create a new service account. Under the newly created service account, create a new key (P12).
  • Under the newly created service account, enable Domain-wide Delegation.
  • Under the newly created service account, under Permissions, add the Principal you added above.
  • Scopes should be:

    https://www.googleapis.com/auth/admin.directory.user https://www.googleapis.com/auth/admin.directory.group https://www.googleapis.com/auth/admin.directory.group.member
  • The user impersonated as needs to be an admin


  • No labels