Sign in with Google

Reference page for setting up single sign-on with Google

Overview

Servoy Cloud offers a Sign-in with Google option to simplify user authentication. Follow the steps below to enable this feature.

Prerequisites

  • Google Developer account: Sign in with your Google account, or create one to access the Google Developer API Console.

  • Google project: Use the default My First Project or create a new Google Project

Set up SSO in Servoy Cloud

To enable Single Sign-On (SSO) with Google in Servoy Cloud, complete the setup in the Security Login Designer.

Create Google Credentials

Once you have set up your account and google project, the next step is to generate credentials.

When you use single sign-on, your app requests authorizations for one or more scopes of access from a Google Account. Google displays a consent screen to the user including a summary of your project and its policies and the requested scopes of access.

To configure the consent screen:

  1. Navigate to Credentials menu item

  2. Click the Create Credentials button and select OAuth client ID

  3. Configure Consent screen

    • Choose the desired target user type, Internal or External

  4. Fill in the required information

    • App Name

    • Upload logo (optional)

    • User support email

    • Developer contact information

Generate Client ID and Client Secret

To generate the Google Client ID and Client Secret ID:

  1. Navigate to Credentials menu item

  2. Click the Create Credentials button and select OAuth client ID

  3. Configure the following settings:

Field

Value to Provide

Application type

Web application

Authorized JavaScript origins

Provided in the Security Designer in CCC: - Expand menu Sign in with Google - Click the Setup Guide link

Authorized redirect URIs

Provided in the Security Designer in CCC: - Expand menu Sign in with Google - Click the Setup Guide link

During this process, Google will generate a Client ID and Client Secret for your application.

The Client ID and Client Secret are required when setting up single sign-on in Cloud Control Center.

Finish SSO Setup

To finish SSO Setup and enable it for your Servoy Cloud Application:

  1. Access Servoy Cloud Application Settings:

    • Go to Application -> Your Application -> Application Settings using the Configure button.

  2. Enable Sign-in with Microsoft

    1. Click the Create custom login button.

    2. Navigate to the Security Login page.

    3. Expand the Sign in with Google section.

    4. Fill in the generated Client ID and Client Secret ID

  3. Save settings

Your application now supports Google Single Sign-On for user authentication.

Last updated

Was this helpful?