{"id":28746237,"url":"https://github.com/ether/ep_headerauth","last_synced_at":"2025-06-16T14:32:57.038Z","repository":{"id":38359005,"uuid":"287875698","full_name":"ether/ep_headerauth","owner":"ether","description":"Etherpad plugin to use a reverse proxy's HTTP headers for authentication.","archived":false,"fork":false,"pushed_at":"2024-03-16T21:45:25.000Z","size":3664,"stargazers_count":1,"open_issues_count":8,"forks_count":6,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-03-14T09:38:49.965Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ether.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2020-08-16T04:50:56.000Z","updated_at":"2025-02-12T03:25:07.000Z","dependencies_parsed_at":"2024-03-17T00:40:54.614Z","dependency_job_id":"aafe6c07-9af4-4172-8ec4-60d510ace1b0","html_url":"https://github.com/ether/ep_headerauth","commit_stats":{"total_commits":62,"total_committers":5,"mean_commits":12.4,"dds":0.564516129032258,"last_synced_commit":"82f4b3271cd26b38119b192a857191881a8f4907"},"previous_names":[],"tags_count":18,"template":false,"template_full_name":null,"purl":"pkg:github/ether/ep_headerauth","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ether%2Fep_headerauth","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ether%2Fep_headerauth/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ether%2Fep_headerauth/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ether%2Fep_headerauth/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ether","download_url":"https://codeload.github.com/ether/ep_headerauth/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ether%2Fep_headerauth/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260175659,"owners_count":22970021,"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-16T14:30:53.181Z","updated_at":"2025-06-16T14:32:57.024Z","avatar_url":"https://github.com/ether.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"![Publish Status](https://github.com/ether/ep_headerauth/workflows/Node.js%20Package/badge.svg) ![Backend Tests Status](https://github.com/ether/ep_headerauth/workflows/Backend%20tests/badge.svg)\n\n# `ep_headerauth`\n\nEtherpad plugin to use a reverse proxy's HTTP headers for authentication.\n\nIf the `X-Authenticated-User` header is present in the HTTP request coming from\nyour reverse proxy, then the user is considered to have already been\nauthenticated by your reverse proxy. The header's value is used as the user's\nusername.\n\nIf the `X-Authenticated-Name` header is present, the user's displayed name is\nforced to that header's value.\n\nThe headers used by the plugin can be customized.\n\n## Configuration\n\nTo use this plugin the `trustProxy` and `requireAuthentication` config items\nmust be set to true, otherwise it won't work as expected.\n\nIn your `settings.json`:\n\n```\n{\n  // ...\n  \"trustProxy\": true,\n  \"requireAuthentication\": true,\n  \"ep_headerauth\": {\n    // Defaults to \"x-authenticated-user\"\n    \"username_header\": \"x-authenticated-user\",\n    // Defaults to \"x-authenticated-name\"\n    \"displayname_header\": \"x-authenticated-name\"\n  },\n  // ...\n}\n```\n\n## Copyright and License\n\nCopyright © 2020 Richard Hansen \u003crhansen@rhansen.org\u003e\n\nLicensed under the [Apache License, Version 2.0](LICENSE) (the \"License\"); you\nmay not use this file except in compliance with the License. You may obtain a\ncopy of the License at\n\nhttp://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software distributed\nunder the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR\nCONDITIONS OF ANY KIND, either express or implied. See the License for the\nspecific language governing permissions and limitations under the License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fether%2Fep_headerauth","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fether%2Fep_headerauth","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fether%2Fep_headerauth/lists"}