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

How to use OpenID with SSL ?

By
Comexans
on 4/18/14, 12:59 PM 1,466 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.

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

hi

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

 

 

 

 

 

0

michel Guénard

--michel Guénard--
1033
| 5 5 8
VIROFLAY, France
--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?

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: 4/18/14, 12:59 PM
Seen: 1466 times
Last updated: 3/16/15, 8:10 AM