This manual describes how to create a new Google Project, so that guests can authenticate and log in on the IACBOX by using their Google account.
This module became free for all IACBOXes with valid Software Maintenance as of 1st December 2016.
The login with Google Credentials is meant to be free, guests can not be charged.
To setup a Google Login for your guests, you will need to create a Google Project and configure it according to this manual.
The Google login requires at least one valid ticket template, configured as 0€ (free). If not ticket template is available, a new example template will be created.
In case you use a custom certificate on your IACBOX, pay close attention to change all redirect URLs according to your custom hostname.
Creating a Google Project¶
In order to use the Google Services you have to create a project beforehand. This can be done on the Google Developers Page, accessible with this URL:
Log in with your regular Google account and then select Create project in the top left corner.
If prompted, read and eventually agree to the Terms of Service, then continue with creating a new project:
Now select the newly created project from the list, toggle the menu on the right side and then select Settings.
After this, click on the white-on-blue list-icon on the very top left corner and select APIs & Services.
On the next page, navigate to Credentials and then proceed and select Create Credentials and within this menu, select OAuth client ID.
If this is your first project/app, then you will be prompted to enter some missing information in the next step. Follow the prompted link to the OAuth consent screen, select External, and then fill out all required fields. As for the field Application home page it is required to use following:
It is not necessary to add an authorised domain here, but the Developer contact information has to be filled out. Now on the next page, proceed by clicking Add or remove scopes. Here, check the first row ../auth/userinfo.email and then proceed with the button Update. After this, hit Save and continue. On the next page you can add test users to test your app before production. This is not necessary since this app will be public after all required fields have been filled out, so proceed with Save and continue instead.
Authorised redirect URIs:
Proceed with the button Create.
Your Client ID and Client Secret will now be displayed. Later on you can find this information again by editing your OAuth web application.
In the WebAdmin navigate to Login methods / Social networks and activate Google. Here, fill out the Client ID and Client secret from the last step. Select one of the given Redirect URLs from the drop-down, it must match with the Redirect URL used in your APP settings and then Save.
If you only use the default login page and did not create a new theme yet, then the Google login button should become visible automatically. However, if you’ve created a new Theme, then you may need to manually activate Google login as login method. This can be done by editing the currently active Theme in the WebAdmin menu Login page / Login page editor. In the editor, find and click on Login box 1 (left bottom corner) and then in top right corner, select Social networks in the Tab Element. Proceed by clicking on Save. The result on the login page will look like in the preview.