Skip to main content

Connect Google Login to Your Guest Area and Simplify Access for Your Travelers

Set up Google Login in your Guest Area for quick and secure one-click access for your clients.

Written by Stephanie
Updated over 4 months ago

Fewer Forgotten Passwords, More Convenience for Your Customers

When your guests can log in with their Google account, everything becomes easier: less hassle, fewer forgotten passwords, and more completed bookings. You save time, and they enjoy greater convenience.

What You Will Achieve

Enable Google login so tourists can access their Guest Area with a single click, without needing to create new credentials. This integration is based on Google OAuth and requires creating a project in Google Cloud to obtain the credentials you need to share with the Avantio Support team.

Step by Step: Activate Google Login

  1. Access Google Developers Console with your credentials.

  2. Create a project. Assign a name and, if you work under an organization, select it.

  3. Set up the OAuth consent screen:

    1. Enter the application name.

    2. In Authorized Domains, add your domain without http/https or www (example: «http://avantio.com»).

  4. Go to the Credentials section, click on "Create credentials," and select OAuth client ID.

    1. Within the configuration, choose the Web option and assign a name to the application.

  5. Declare the authorized JavaScript origins by entering your domain.

  6. If your website uses an SSL Certificate, declare it with https.

  7. Add the authorized redirect URL following this pattern:

    1. https://yourdomain/api/auth/login/google?domain=yourdomainwithoutwww

  8. Make sure to replace yourdomain and yourdomainwithoutwww with the correct values.

  9. Copy the client ID and secret.

  10. Send them to Avantio Support by opening a ticket at http://support.avantio.com to complete the activation.

Best Practices

  • Conduct a test with a trial booking before announcing the new feature to your guests.

  • Verify access in incognito mode to avoid cache or previous session issues.

Common Mistakes

  • Adding the domain with protocol or with www in the authorized domains → it should be without protocol and without www.

  • Not reflecting https in the origins if your website uses SSL → declare the origin with https.

  • Configuring the redirect URL incompletely or incorrectly → copy the indicated pattern and only change the domain.

  • Forgetting to send the ID and secret to support → without this step, the integration cannot be activated in your environment.

In summary, activating Google Login in your Guest Area enhances the traveler's experience and simplifies access management, ensuring convenience and efficiency for both parties.


Frequently Asked Questions

Where can I find Google Developers Console?

In the Google APIs console. You need to log in with your Google account to create the project and credentials.

How should I write my domain on the consent screen?

Without protocol and without www: «http://mydomain.com». This is the format that Google accepts as an authorized domain.

What redirect URL should I add?

The one indicated by Avantio, following this pattern:
https://yourdomain/api/auth/login/google?domain=yourdomainwithoutwww.
Change the domain to yours and maintain the exact format.

I already have the ID and secret, what do I do now?

Copy them and send them in a ticket to http://support.avantio.com so the technical team can complete the activation in your environment.

What if my site is on https?

Declare it in the Authorized JavaScript Origins. If your website loads on https, the origin must include https.

Did this answer your question?