Google

Configuring Google as a Social Provider

In this section, we will show you how to provide an option to login with google login, on your cidaas Login page.

Configure your login page with social providers


By configuring google as a social provider in cidaas, you will get a new option called Login with Google in the login page of your cidaas application and Signup with Google in the registration page of your cidaas application.

Overall process would be

  • On cidaas admin portal : Get Authorized javaScript origins and Authorized redirect URI
  • On Google developer console : Add Authorized javaScript origins and Authorized redirect URI to your google developer's account
  • On Google developer console : Generate Google clientID and client secret
  • On cidaas admin portal : Add Google client id and client secret in cidaas application
  • On cidaas admin portal : Select appropriate applications for which you want to enable Google as a social provider

We will guide you through the process — it's pretty easy!

Get Authorized javaScript origins and Authorized redirect URI

In this section, you'll find steps on how to collect Authorized javaScript origins and Authorized redirect URI from cidaas, which is needed to generate Google client id and client secret.

1. Logon to cidaas Admin portal. Navigate to cidaas Admin dashboard -> Settings -> Login Providers -> Social Providers and select Google app from the menu.

2. In the screen displayed, you can find a section called Configurations Steps for Google App which will show Javascript Origin and Redirect URI.

Make note of this Javascript Origin and Redirect URI.

Generate Google Client ID and Client Secret

In this section, we'll guide you to generate client id and client secret from google developers console.

1. Logon to Google developers console.

2. Select Credentials menu.

3. Click on Create credentials button and choose OAuth Client ID

4. Select Web application as Application type. Enter suitable name for your application. Then enter Javascript Origin and Redirect URI which you obtained from ciddas.

Then click on Create button to proceed.

5. Now you have successfully generated google's client id and client secret for your application. The generated client id and client secret will be shown as below.

Make note of this client id and client secret and click on Ok button.

Configure social provider setup in cidaas

In this section, you'll find steps on how to add google client id and client secret in your cidaas application and how to choose clients for whom you want to enable Google as a social provider.

1. Now, go to cidaas Admin dashboard -> Settings -> Login Providers -> Social Providers and select the Google app from the menu.

2. Enter the client id and client secret which you obtained from google developer console. Specify required scope for your application. You can also enable/disable google in cidaas admin portal as well as user portal as per your requirement. Click on Save button.

3. Under Configure Clients for Google section, you find a list of various applications created in your cidaas account. Select appropriate applications for which you want to enable Google as a social provider. After mapping the required clients, click on Save button.

Note: Administrator can configure single social provider to many clients


Reference Link how to configure Custom provider? cidaas allows administrator to configure additional identity providers than what is offered by it, by default. This identity provider can be your favorite/business email ID provider or your own company LDAP/identity server.




results matching ""

    No results matching ""