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
Access Google Developers Console with your credentials.
Create a project. Assign a name and, if you work under an organization, select it.
Set up the OAuth consent screen:
Enter the application name.
In Authorized Domains, add your domain without http/https or www (example: «
http://avantio.com»).
Go to the Credentials section, click on "Create credentials," and select OAuth client ID.
Within the configuration, choose the Web option and assign a name to the application.
Declare the authorized JavaScript origins by entering your domain.
If your website uses an SSL Certificate, declare it with https.
Add the authorized redirect URL following this pattern:
https://yourdomain/api/auth/login/google?domain=yourdomainwithoutwww
Make sure to replace yourdomain and yourdomainwithoutwww with the correct values.
Copy the client ID and secret.
Send them to Avantio Support by opening a ticket at
http://support.avantio.comto 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?
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?
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?
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?
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?
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.
