콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
1 회신
7141 화면

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.

 

아바타
취소
베스트 답변

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!