-
Notifications
You must be signed in to change notification settings - Fork 29
GSuite configuration
Michal Hlavac edited this page Sep 1, 2017
·
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 Google+ API and 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
https://localhost:8443/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 p12 for private key format
- Check Enable G Suite Domain-wide Delegation
- Click Create and save p12 file and private key password
- 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. (Don't need if you don't want to synchronize password to GSuite)
-