-
Login into your Google account and go to the Developpers Console
-
Click the Select a project dropdown button and choose Create a new project
-
Provide a Project name and edit your project ID to something related to your project. Click on Show advanced options... and choose your App location e.g. europe_west (if your App will be mostly used by users in Europe). Click Create to register your App.
-
Once your Project is created you are redirected to the Project Dashboard. Click on Enable and manage APIs. You can alse access the API manager through the sidemenu bar
-
In the API Manager window click on Credentials tab on the right and then on OAuth consent screen tab on the top (see pic below). Provide a Product name that will be shown to users and any other information you wand to display (homepage URL, logo etc.). Save your options.
-
Now head over to the Credentials tab on the top and generate New credentials for OAuth client ID (As shown in pic below)
-
Choose Web application and provide a Name and an Authorized redirect URI. Your URI should be in the form:
http://YOUR_DOMAIN_NAME/login/check-google
e.g. http://myclaroline.univ-lyon.fr/login/check-google