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

Google Oauth using Https:// protocol

By
tazus
on 10/5/15, 8:14 AM 485 views

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.

 

0

Akhil P Sivan

--Akhil P Sivan--
3423
| 5 3 6
Kochi, India
--Akhil P Sivan--

Interested in exploring Odoo both technically & functionality wise.

email-id : akhilpsivan01@gmail.com

Akhil P Sivan
On 10/5/15, 8:20 AM

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 

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!

tazus
on 10/5/15, 8:27 AM

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: 10/5/15, 8:14 AM
Seen: 485 times
Last updated: 10/5/15, 8:20 AM