-
Notifications
You must be signed in to change notification settings - Fork 29
GSuite configuration
Michal Hlavac edited this page May 20, 2019
·
8 revisions
- Open Developer console
- Click on Create Project, type Project Name value Account Manager and click s Create
- Wait for project creation
- Select created project
- Open APIs & Services -> Library
- Make sure Account Manager project is selected.
- Search for Google People API and then click to Enable
- Repeat previous step with Admin SDK
- Open APIs & Services -> Credentials -> OAuth consent screen
- Setup e-mail
- Project name: "Account Manager"
- Click Save
- According to the instructions 1 or 2 create Web Application credentials
- Write e.g. "Account manager client" into Name
- Field Authorized JavaScript origins leave empty
- Field Authorized redirect URIs fill with
http://localhost:8181/cxf/oidc/rp/complete
- Click Create and save client ID and client secret.
- According to the instructions create Service Account
- Write e.g. GSuite services client into Name
- Check Furnish a new private key and choose JSON format
- Check Enable G Suite Domain-wide Delegation
- Click Create and save JSON file
- Open GSuite Admin Console
- Check Security -> API Reference -> Enable API access
- According to the instructions delegate these permissions
-
https://www.googleapis.com/auth/admin.directory.group.readonly
- Scope for only retrieving group, group alias, and member information. -
https://www.googleapis.com/auth/admin.directory.user
- Global scope for access to all user and user alias operations. (To synchronize password to GSuite) -
https://www.googleapis.com/auth/admin.reports.audit.readonly
(Push notifications)
-