Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ADD] Authentication via HTTP Remote User 8.0 #34

Closed
wants to merge 17 commits into from

Conversation

lmignon
Copy link
Contributor

@lmignon lmignon commented Aug 5, 2014

The module allows integration with external security systems (Shibolleth, Tivoli access manager, ..) that can pass along authentication of a user via Remote_User HTTP header field. In many cases, this is achieved via server like Apache HTTPD or nginx proxying Odoo.

lmignon and others added 17 commits July 25, 2014 16:42
…P_REMOTE_USER in the HEADER of the HTTP request and trying^Co bind the given value to a user
…er is found in odoo always issues Unauthorized (avoid redirect to the login page)

If the uid in the session is not the same as the one from the binded HTTP_REMOTE_USER, always logout to clean up the session
…nstead of uid

Avoids a database query unless authentication is actually required.
@sbidoul
Copy link
Member

sbidoul commented Aug 5, 2014

👍 code review and tests

@gurneyalex
Copy link
Member

please resubmit on the 8.0 branch

@gurneyalex gurneyalex closed this Aug 20, 2014
modoolar-bot pushed a commit to modoolar/oca-server-tools that referenced this pull request Jan 14, 2022
Signed-off-by sebastienbeau
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants