Delegated permission
This section will introduce the procedure of integration (Delegated permission) with Google. This integration is suggested for the companies who will use ONES for part of staff/department.
User have to login to ONES at least once for booking resources.
Server settings
Getting start
- Enter the
name
of integration for identification of this integration in ONES.
Create Project
- For retrieving the customer ID, client ID and client secret, you need to create a project for integration. Navigate to your Google Cloud Platform.
- Click
Select a project
and clickNEW PROJECT
: - Enter a name, organization and location for the project. (These information are just for naming, which will not be used in the integration with ONES.)
- Click
CREATE
to create the project.
Enable API
- Navigate to the
APIs & Services
and select the project. - Click
ENABLE APIS AND SERVICES
and searchGoogle Calendar API
. - Select
Google Calendar API
and clickENABLE
.
Create OAuth consent screen
- Navigate to
OAuth consent screen
. - Select
External
and clickCREATE
. - Input
App name
,User support email
andEmail addresses
ofDeveloper contact information
. (These information are just for naming, which will not be used in the integration with ONES.) - Click
SAVE AVD CONTINUE
. - Click
ADD OR REMOVE SCOPES
. - Select
userinfo.email
,userinfo.profile
andopenid
. - Search
Google Calendar API
and selectcalendar
. - Click
UPDATE
. - Click
SAVE AVD CONTINUE
. - Click
SAVE AVD CONTINUE
. - Click
BACK TO DASHBOARD
to finish the procedure.
Create OAuth 2.0 Client IDs
- Navigate to
Credentials
ofAPIs & Services
. - Click
CREATE CREDENTIALS
and selectOAuth client ID
. - Click
Application type
and selectWeb application
, and typeName
. - Click
CREATE
to finish the procedure. - Copy the
Client ID
andClient secret
. - Go back to Offision and paste the values to the corresponding fields.
Set Customer ID
- Navigate to Google Admin console.
- Click
Account
and navigate toAccount settings
. - Copy the
Customer ID
. - Go back to Offision and paste the
Customer ID
to theCustomer ID
column.
Save and next
- Click
Save and next
to continue once the information is confirmed to be correct.
Room settings
Redirect URI
- Redirect URI is for adding single-sign-on callback-link to Google(Please also add this to the Google Cloud Platform):
- Copy the Redirect URI on the right side of Offision.
- Navigate to Google Cloud Platform.
- Navigate to
Credentials
ofAPIs & Services
. - Edit the OAuth 2.0 Client ID.
- Click
ADD URI
ofAuthorized redirect URIs
and paste the Redirect URI to the column. - Click
SAVE
.
Add resources calendar to admin account and change the resources settings
- Navigate to Google Calendar and login as admin.
- Click
Settings menu
and go toSettings
. - Click
Add calendar
and go toBrowse resources
. - Select the resources that you want to subscribe.
- Navigate to the resources.
- Change the
Time zone
. - Go to
Auto-accept invitations
and selectAutomatically add all invitations to this calendar
.
Add delegated account
- Click
Add delegated account
. - Select the account that you have subscribed the resources calendar.
- Click
Allow
. - Input the resource email and click
Add room
.
Save and next
- Click
Save and next
to continue once the information is confirmed to be correct.
User settings
Redirect URI
- Redirect URI is for adding single-sign-on callback-link to Google(Please also add this to the Google Cloud Platform):
- Copy the Redirect URI on the right side of Offision.
- Navigate to Google Cloud Platform.
- Navigate to
Credentials
ofAPIs & Services
. - Edit the OAuth 2.0 Client ID.
- Click
ADD URI
ofAuthorized redirect URIs
and paste the Redirect URI to the column. - Click
SAVE
.
Others
- You can set the
Login button name
in the login page. - Click
Save and close
.