Skip to main content

Google Login Integration

Set Google Login in EasySite

  1. In EasySite, enter a project, click the "Settings" button in the top right corner to open the settings panel.

    click settings

  2. In the settings panel, click on "Third-party Integration", then click the "Google Login" button to enter the Google Login settings page.

  3. On the Google Login settings page, to enable Google login, you must first enable EasySite Database. Click the "Enable now" button to navigate to the Database tab.

    click google login

  4. On the Database settings page, click the "Enable Database" button, select "EasySite Database" for the Database Type, then click the "Save" button to save the settings.

    enable database

  5. Return to the Third-party Integration tab, click the "Google login" button, and copy the Google Redirect URL, which will be used in step 8.

    copy google redirect url

  6. Open the Google Cloud Console, create a new project or open an existing one, click the project name, then click the "APIs & Services" button.

    click APIs & Services

  7. In the project, click the "Credentials" button, click the "Create Credentials" button, select "OAuth Client ID".

    create credentials

  8. Set application type to "Web application", set the application name, for example "EasySite Google Login", then enter the Google Redirect URL copied in step 5 in the Authorized redirect URIs field, then click the "Create" button to create the credentials.

    set redirect url

  9. This will generate a Client ID and Client Secret. Copy the Client ID and Client Secret.

    copy client id and client secret

  10. Return to the Google Login settings page in EasySite, enter the Client ID and Client Secret copied in step 9, then click the "Save" button to save the settings.

    input client id and client secret

Using Google Login to Sign in to EasySite

Use the following prompt to create a website with Google login.

Create a Sudoku mini-game where users can login, register, and use Google login.