Here We explain a creation of the Google OAuth2.0 Client Id for Google apps. For the creating a Google OAuth2.0 Client Id,Please go to this Url:
https://code.google.com/apis/console .When visit this website,it is asking the login credentials. Fort this one,login with your Gmail account details.
After login below screen will be appear.
In the above screen,Click on the “Create project…“. It will go to the API Console page like shown in below image.
In this page,please click on the “API Access” .It will go to the API Access page, it shows the below image.
In this page,Click on the “Create an OAuth 2.0 client ID…“. It will appear a popup box for creating a client Id.
In this popup,you need to fill the “Branding Information”. After entering the Branding Information details,click on the Next button Another popup appear for Client ID Settings.
In this popup, You need to select the type of Application type for OAuth Client Type. After that click on the “Create client ID“ . It will generate a Client ID,Client secret and register Redirect URI.
For Changing the Redirect URI,Click on the “Edit settings…” in the above page.It will appear one popup for editing the Redirect URI.