{"id":28749693,"url":"https://github.com/psigen/libphremoteuser","last_synced_at":"2025-06-16T20:44:09.245Z","repository":{"id":10087578,"uuid":"12146469","full_name":"psigen/libphremoteuser","owner":"psigen","description":"Extension to Phabricator that performs basic authentication via a web server's REMOTE_USER variable.","archived":false,"fork":false,"pushed_at":"2020-05-05T04:14:58.000Z","size":144,"stargazers_count":3,"open_issues_count":2,"forks_count":10,"subscribers_count":2,"default_branch":"master","last_synced_at":"2023-04-08T04:47:46.190Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/psigen.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-08-15T23:41:03.000Z","updated_at":"2016-07-23T17:02:49.000Z","dependencies_parsed_at":"2022-09-05T17:22:11.504Z","dependency_job_id":null,"html_url":"https://github.com/psigen/libphremoteuser","commit_stats":null,"previous_names":[],"tags_count":0,"template":null,"template_full_name":null,"purl":"pkg:github/psigen/libphremoteuser","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/psigen%2Flibphremoteuser","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/psigen%2Flibphremoteuser/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/psigen%2Flibphremoteuser/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/psigen%2Flibphremoteuser/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/psigen","download_url":"https://codeload.github.com/psigen/libphremoteuser/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/psigen%2Flibphremoteuser/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260236349,"owners_count":22979404,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-06-16T20:44:08.616Z","updated_at":"2025-06-16T20:44:09.202Z","avatar_url":"https://github.com/psigen.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"libphremoteuser\n===============\n\nThis extension to [Phabricator](http://phabricator.org/) performs basic authentication \nvia a web server's REMOTE_USER variable.  It should be able to work with a variety of \nmajor servers such as Apache and Nginx, but I have only tested it with Apache.\n\nInstallation\n------------\n\nTo install this library, simply clone this repository alongside your phabricator installation:\n\n    cd /path/to/install\n    git clone https://github.com/psigen/libphremoteuser.git\n    \nThen, simply add the path to this library to your phabricator configuration:\n\n    cd /path/to/install/phabricator\n    ./bin/config set load-libraries '[\"libphremoteuser/src/\"]'\n    \nWhen you next log into Phabricator as an Administrator, go to **Auth \u003e Add Authentication Provider**.  \nIn the list, you should now see an entry called **Web Server**.  Enabling this provider should add a \nnew button to your login screen.\n\nIn order to actually log in, your web server needs to populate the **$REMOTE_USER** variable when the\nlogin button is pressed.  You can do this by forcing the login URI that Phabricator uses to be \nrestricted, by adding a directive like the following to your web server configuration (this is Apache2):\n\n    \u003cLocation \"/auth/login/RemoteUser:self/\"\u003e\n      Authtype Basic\n      AuthName \"Phabricator at My Server\"\n      Require valid-user\n      \n      Options None\n      Order allow,deny\n      Allow from all\n    \u003c/Location\u003e\n\n\nSecurity\n--------\n\nI make no guarantees about this library being totally secure.  It's not __obviously__ insecure.  \nHowever, please make sure to at least \n**REDIRECT THE LOGIN URI TO SSL, OTHERWISE YOU ARE SENDING PLAIN TEXT PASSWORDS.**\n\nIf you care about security consider:\n  * Hosting Phabricator entirely on https/SSL\n  * Restricting access to the whole Phabricator installation directory, also using SSL.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpsigen%2Flibphremoteuser","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpsigen%2Flibphremoteuser","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpsigen%2Flibphremoteuser/lists"}