Odoo Help


How to use OpenID with SSL ?

on 4/18/14, 12:59 PM 1,991 views

We have setup our OpenERP7 and added ssl redirection by following the guide provied by schenkels This is working greatly since many months without issues

Now we want to use OpenID to logon our OpenERP server. We activated the OpenID module and set the users with their OpenID.

When we login, we are redirected to our OpenID provider pages wich asks us to confirm login to our server but the URL provided is beginning with http://... instead of https://..

And so I got an error of nginx reverse proxy telling me :

400 Bad Request
The plain HTTP request was sent to HTTPS port

If I edit the URL in the browser addresss bar to add the missing "s" after http, then the login process complete and I get into OpenERP. So it would be nice if OpenID module can send the correct URL to the IdP or to rewrite the URL at nginx level but I am not sure I can put a rewrite condition in nginx because as far as I know nginx is not able to receive http and https on the same port... How can I fix this ?

Thanks for your support.

Marc F Gamma
On 12/4/14, 12:13 PM


I do not know schenkels guide but if you are using nginx you can set up in a way so that you rewrite the url from http to https. benefit is that you always are protected even if your user type http they will be connected by https

to Ad Libitom: thes 2 parameters are provided by you OpenID provider







michel Guénard

--michel Guénard--

| 5 5 8
--michel Guénard--

VP operations & finance Social entrepreneur Certified Public Accountant Past Chief internal auditor

michel Guénard
On 10/14/14, 1:07 PM

Apparently you received no answer from this communty.

Did you receive one from others or said differently did you solve your issue and how?

As far as I am concerned as a non expert, I am trying to understant the openid set up in Odoo and more precisely which parameters I need to pass to the system for the 2 parameters proposed by Odoo, URL Openid and Email openID.

Do you have answers  or guidance for these 2 parameters?

About This Community

This platform 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.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)


Asked: 4/18/14, 12:59 PM
Seen: 1991 times
Last updated: 3/16/15, 8:10 AM