View Ticket
Not logged in
Ticket UUID: 49929a3557ab0d357c2f5b2b5f672d59b3aacd25
Title: Support REMOTE_USER CGI variable to auto login when using fossil cgi mode
Status: Fixed Type: Feature_Request
Severity: Priority:
Subsystem: Resolution: Fixed
Last Modified: 2010-03-29 00:46:44
Version Found In:
Description & Comments:
When using https or other authentication solutions such as single signon etc., the web server provides the authenticated user name in the REMOTE_USER environment variable when running a cgi script.

I would be really nice if fossil cgi could take advantage of this.

If REMOTE_USER is set to an existing fossil user name then that user is automatically logged in. If REMOTE_USER is set to a user name that is not present in the fossil user table, then the anonymous user is automatically logged in.

This would be a really handy way to integrate fossil with preexisting authentication solutions.

Some support seen for this on the mailing list:

http://www.mail-archive.com/fossil-users@lists.fossil-scm.org/msg01711.html

"Nothing to contribute other than to say, yeah, that would be pretty cool."

NOTE: Supporting REMOTE_USER only makes sense when running in "fossil cgi" mode.