{"id":31710145,"url":"https://github.com/emqx/emqx-auth-http","last_synced_at":"2025-10-09T00:11:19.382Z","repository":{"id":46076192,"uuid":"58912662","full_name":"emqx/emqx-auth-http","owner":"emqx","description":"EMQX HTTP Authentication/ACL Plugin","archived":false,"fork":false,"pushed_at":"2023-12-27T07:39:00.000Z","size":378,"stargazers_count":46,"open_issues_count":19,"forks_count":48,"subscribers_count":25,"default_branch":"master","last_synced_at":"2025-09-29T22:58:33.289Z","etag":null,"topics":["acl","authentication","emqx","emqx-plugin","http","http-authentication"],"latest_commit_sha":null,"homepage":"https://emqx.io/","language":"Erlang","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/emqx.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":"2016-05-16T07:33:23.000Z","updated_at":"2025-05-03T18:50:06.000Z","dependencies_parsed_at":"2022-09-07T05:31:52.225Z","dependency_job_id":null,"html_url":"https://github.com/emqx/emqx-auth-http","commit_stats":null,"previous_names":[],"tags_count":228,"template":false,"template_full_name":null,"purl":"pkg:github/emqx/emqx-auth-http","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emqx%2Femqx-auth-http","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emqx%2Femqx-auth-http/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emqx%2Femqx-auth-http/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emqx%2Femqx-auth-http/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/emqx","download_url":"https://codeload.github.com/emqx/emqx-auth-http/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emqx%2Femqx-auth-http/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279000745,"owners_count":26082879,"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","status":"online","status_checked_at":"2025-10-08T02:00:06.501Z","response_time":56,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["acl","authentication","emqx","emqx-plugin","http","http-authentication"],"created_at":"2025-10-09T00:10:25.033Z","updated_at":"2025-10-09T00:11:19.374Z","avatar_url":"https://github.com/emqx.png","language":"Erlang","funding_links":[],"categories":[],"sub_categories":[],"readme":"emqx_auth_http\n==============\n\nEMQX HTTP Auth/ACL Plugin\n\nBuild\n-----\n\n```\nmake \u0026\u0026 make tests\n```\n\nConfigure the Plugin\n--------------------\n\nFile: etc/emqx_auth_http.conf\n\n```\n##--------------------------------------------------------------------\n## Authentication request.\n##\n## Variables:\n##  - %u: username\n##  - %c: clientid\n##  - %a: ipaddress\n##  - %r: protocol\n##  - %P: password\n##  - %C: common name of client TLS cert\n##  - %d: subject of client TLS cert\n##\n## Value: URL\nauth.http.auth_req = http://127.0.0.1:8080/mqtt/auth\n## Value: post | get | put\nauth.http.auth_req.method = post\n## Value: Params\nauth.http.auth_req.params = clientid=%c,username=%u,password=%P\n\n##--------------------------------------------------------------------\n## Superuser request.\n##\n## Variables:\n##  - %u: username\n##  - %c: clientid\n##  - %a: ipaddress\n##  - %r: protocol\n##  - %P: password\n##  - %C: common name of client TLS cert\n##  - %d: subject of client TLS cert\n##\n## Value: URL\nauth.http.super_req = http://127.0.0.1:8080/mqtt/superuser\n## Value: post | get | put\nauth.http.super_req.method = post\n## Value: Params\nauth.http.super_req.params = clientid=%c,username=%u\n\n##--------------------------------------------------------------------\n## ACL request.\n##\n## Variables:\n##  - %A: 1 | 2, 1 = sub, 2 = pub\n##  - %u: username\n##  - %c: clientid\n##  - %a: ipaddress\n##  - %r: protocol\n##  - %m: mountpoint\n##  - %t: topic\n##\n## Value: URL\nauth.http.acl_req = http://127.0.0.1:8080/mqtt/acl\n## Value: post | get | put\nauth.http.acl_req.method = get\n## Value: Params\nauth.http.acl_req.params = access=%A,username=%u,clientid=%c,ipaddr=%a,topic=%t\n```\n\nLoad the Plugin\n---------------\n\n```\n./bin/emqx_ctl plugins load emqx_auth_http\n```\n\nHTTP API\n--------\n\n200 if ok\n\n4xx if unauthorized\n\nLicense\n-------\n\nApache License Version 2.0\n\nAuthor\n------\n\nEMQX Team.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Femqx%2Femqx-auth-http","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Femqx%2Femqx-auth-http","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Femqx%2Femqx-auth-http/lists"}