Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
I would like to authenticate a user from a PHP page and redirect him into OpenERP without having to let him enter is username and password. I saw a lot of articles about APIs and login, but it is only to do some action as search, write and read data. Do you have any solutions for that?
It sounds a bit weird to me; "only some search, write and read" actions is all you do in OpenERP anyways. Doing anything in OpenERP requires a user. Having a user do anything on OpenERP requires login credentials.
If you have these credentials anywhere, then you can easily setup a connection to the API and use OpenERP from that point on. As long as the connection is active, you should be able to do just about anything from PHP.
Hello Ludo, I think I misspoke.
I have another web platform that all my users are logged in. I want to add a link that automatically authenticate the user in Odoo. When the user clic on this link, I want to open another tab in Web browser with Odoo already logged in.
I saw that Single Sign On service should do this, but it is possible to do this with APIs?
I saw that I need to get the following cookie to do this : instance0|session_id
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 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.Register
Odoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.Test it now
|Asked: 10/19/14, 6:15 PM|
|Seen: 1071 times|
|Last updated: 3/16/15, 8:10 AM|