Introduction

This article will illustrate how to create a custom application for Gmail login.

Steps to create a Google private app

  1.  Log in to console.developers.google.com using your Gmail login credentials.


  1.  After successful login, you will be redirected to the App Dashboard. Click on the Select a Project label from the top navigation menu. This will open a Create or Select Project wizard.



  1.  Click on the New Project label from the top right corner. It will open a Create New Project page.



  1. Once you create a project you need to enable APIs for your project. Click on the Enable APIs and Services label to add API. Refer to the below images.




  1.  Choose API from the API library.



  1. Enable the selected API. To enable, click the Enable button followed by API Description.




  1. Configure the OAuth Consent screen to allow the end-user to log in to your application.




Add the application name and URL and click Save button to save authentication settings. Refer images given below.



Add Credentials to your application. Click Create Credentials and select Credential type from the drop-down list.




Choose the application type for the application to be created. Fill asked details and click Create button to create OAuth Client ID.


  1. After the successful creation of Client ID, it will be listed on the Credentials page.




How to get App ID and App secret?

 
Click on the client ID name, it will open web applications' details page. In the top of the page, you will find Client ID (App ID) and Client Secret(App Secret).



  1. In Flits App Admin, open Social Login Settings from the Settings section.


  1. In Google Settings, add App ID and App Secret copied from Google apps Client ID section.



  1. Click on the Save button to save your changes.


You can now use your custom “Google Application “ Login on your store.


For any help regarding custom app setup contact support@getflits.com