{"id":20665890,"url":"https://github.com/catap/ngx_http_auth_request_module","last_synced_at":"2026-04-20T12:04:33.009Z","repository":{"id":66725198,"uuid":"1647510","full_name":"catap/ngx_http_auth_request_module","owner":"catap","description":null,"archived":false,"fork":false,"pushed_at":"2011-04-21T22:16:48.000Z","size":91,"stargazers_count":3,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-17T12:56:58.668Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/catap.png","metadata":{"files":{"readme":"README","changelog":"CHANGES","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":"2011-04-21T22:14:16.000Z","updated_at":"2019-03-30T14:51:11.000Z","dependencies_parsed_at":"2023-02-20T10:00:29.466Z","dependency_job_id":null,"html_url":"https://github.com/catap/ngx_http_auth_request_module","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/catap%2Fngx_http_auth_request_module","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/catap%2Fngx_http_auth_request_module/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/catap%2Fngx_http_auth_request_module/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/catap%2Fngx_http_auth_request_module/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/catap","download_url":"https://codeload.github.com/catap/ngx_http_auth_request_module/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242847870,"owners_count":20194973,"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":"2024-11-16T19:34:27.305Z","updated_at":"2026-04-20T12:04:32.961Z","avatar_url":"https://github.com/catap.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"Auth request module for nginx.\n\nThis module allows authorization based on subrequest result.  Once subrequest\nreturns 2xx status - access is allowed, on 401 or 403 - disabled with\nappropriate status.  Anything else is considered to be an error.\n\nFor 401 status WWW-Authenticate header from subrequest response will be\npassed to client.\n\nModule works at access phase and therefore may be combined nicely with other\naccess modules (access, auth_basic) via satisfy directive.\n\nConfiguration directives:\n\n    auth_request \u003curi\u003e|off\n\n        Context: http, server, location\n        Default: off\n\n        Switches auth request module on and sets uri which will be asked for\n        authorization.\n\n    auth_request_set \u003cvariable\u003e \u003cvalue\u003e\n\n        Context: http, server, location\n        Default: none\n\n        Set request variable to the given value after auth request completion.\n        Value may contain variables from auth request, e.g. $upstream_http_*.\n\nUsage:\n\n    location /private/ {\n        auth_request /auth;\n        ...\n    }\n\n    location = /auth {\n        proxy_pass ...\n        proxy_pass_request_body off;\n        proxy_set_header Content-Length \"\";\n        proxy_set_header X-Original-URI $request_uri;\n    }\n\nNote: it is not currently possible to use proxy_cache/proxy_store (and \nfastcgi_cache/fastcgi_store) for requests initiated by auth request\nmodule.\n\nTo compile nginx with auth request module, use \"--add-module \u003cpath\u003e\" option\nto nginx configure.\n\nDevelopment of this module was sponsored by Openstat (http://www.openstat.com/).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcatap%2Fngx_http_auth_request_module","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcatap%2Fngx_http_auth_request_module","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcatap%2Fngx_http_auth_request_module/lists"}