Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

0

Internal domain name visible to Google when sync is activated

By
Roma Film
on 7/2/15, 11:51 AM 1,497 views

I have a problem with the synchronization of calendar with Google. I have an Ubuntu server on a local LAN that is running Odoo. I access Odoo in LAN through url

w3.mydomain.lan:8069 

And so far so good. Then I created a DynDNS domain and activated DNSS on my router to access it from the outside. I access it as

mydomain.office-on-the.net:8069 

It works perfectly. So I followed the instructions to synchronize the calendar with Google. I created the two values ​​required, Google Client ID and Client Secret Google, and I made sure they were well written without spaces or other garbage, and I enabled on the corresponding Google project the Google+ and Calendar APIs. I verified I did all correctly several times.

However, when I try to sync calendars, I get the following error:

400. That's an error. 
Error: invalid_request 
Invalid parameter value for redirect_uri: Non-public domains not allowed:
w3.mydomain.lan/google_account/authentication

However if I'm going to see the request, I get:

scope = https://www.googleapis.com/auth/calendar
response_type code =
redirect_uri = http://w3.mydomain.lan/google_account/authentication
access_type = offline
approval_prompt = force
state = {"s": "calendar", "d", "MioDominioERP", "f", "mydomain.office-on-the.net:8069/web#vi...nu_id=360&action=413"}
client_id = xxx...xxx.apps.googleusercontent.com

Why Google is able to see the internal domain name???

PS Obviously I specified redirect_uri in the Google project as

mydomain.office-on-the.net:8069/google_account/authentication

Thank you in advance.

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

Asked: 7/2/15, 11:51 AM
Seen: 1497 times
Last updated: 7/2/15, 11:52 AM