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.