Fossil

View Ticket
Login

View Ticket

2010-03-29
00:46 Fixed ticket [49929a3557]: Support REMOTE_USER CGI variable to auto login when using fossil cgi mode plus 1 other change ... (artifact: 0ed9cb09da user: drh)
00:07
Add the capability (disabled by default) to accept REMOTE_USER as an authenticated user. Ticket [49929a3557a] ... (check-in: a5a1ff1b4b user: drh tags: trunk)
2010-03-28
12:24 New ticket [49929a3557] Support REMOTE_USER CGI variable to auto login when using fossil cgi mode. ... (artifact: 294f054559 user: anonymous)

Ticket Hash: 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
16.02 years ago
Created: 2010-03-28 12:24:37
16.02 years ago
Version Found In:
Description:
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.