Mercurial > prosody-modules
comparison mod_auth_http_async/README.md @ 5975:fe081789f7b5
All community modules: Unify file extention of Markdown files to .md
| author | Menel <menel@snikket.de> |
|---|---|
| date | Tue, 22 Oct 2024 10:26:01 +0200 |
| parents | mod_auth_http_async/README.markdown@4916c1b6517f |
| children | 7b693a5539ad |
comparison
equal
deleted
inserted
replaced
| 5974:5a65a632d5b9 | 5975:fe081789f7b5 |
|---|---|
| 1 --- | |
| 2 labels: | |
| 3 - Stage-Alpha | |
| 4 ... | |
| 5 | |
| 6 Introduction | |
| 7 ============ | |
| 8 | |
| 9 This is an experimental authentication module that does an asynchronous | |
| 10 HTTP call to verify username and password. | |
| 11 | |
| 12 Details | |
| 13 ======= | |
| 14 | |
| 15 When a user attempts to authenticate to Prosody, this module takes the | |
| 16 username and password and does a HTTP GET request with [Basic | |
| 17 authentication][rfc7617] to the configured `http_auth_url`. | |
| 18 | |
| 19 Configuration | |
| 20 ============= | |
| 21 | |
| 22 ``` lua | |
| 23 VirtualHost "example.com" | |
| 24 authentication = "http_async" | |
| 25 http_auth_url = "http://example.com/auth" | |
| 26 ``` | |
| 27 | |
| 28 Compatibility | |
| 29 ============= | |
| 30 | |
| 31 Requires Prosody trunk |
