Fossil SCM

Support REMOTE_USER CGI variable to auto login when using fossil cgi mode

Fixed

49929a3557ab0d3… · opened 16 years ago

Type
Feature_Request
Priority
Severity
Resolution
Fixed
Subsystem
Created
March 28, 2010 12:24 p.m.

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/[email protected]/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.

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button