İçereği Atla
Menü
Bu soru işaretlendi
1 Cevapla
7178 Görünümler

Following the instruction for Odoo's oauth provider and developer google project  authentication settings (using https://mydomain/auth_oauth/signin" )  I keep getting the problem when using https:// as default protocol.

The "request.httprequest.url_root" from controllers/main.py (line 58 and 75) sending out http:// as default protocol.   So, when Iogin with Google account. I always got  "Error: redirect_uri_mismatch" error.

So, what should be done? I try to modified the main.py to use "web.base.url" but keep getting the following error:

File "/opt/odoo/addons/bus/bus.py", line 188, in poll

raise Exception("bus.Bus unavailable")"

And the system was lock at 500 error.

So, anyone can share the possible solution will be appreciated.

 

Avatar
Vazgeç
En İyi Yanıt

Hi,

Please check the following post, that might be useful for you to ensure the configuration steps:

https://www.odoo.com/forum/help-1/question/openerp-and-google-oauth-6357 

Avatar
Vazgeç
Üretici

Thank you for the post and link. I did try the setting but it does not working. Our firewall does not allow access 8069 directly from outside domain which include Google. I setup using nginx reverse proxy to port 43 for SSL encryption. That's why it have to good through https://. But thank you anyway!