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