Comparison

mod_auth_http_async/README.markdown @ 1888:3483381c5e46

mod_auth_http_async: Add README
author Kim Alvefur <zash@zash.se>
date Thu, 01 Oct 2015 20:43:14 +0200
child 1933:afba0821f058
comparison
equal deleted inserted replaced
1887:a7fdab9c14e2 1888:3483381c5e46
1 Introduction
2 ============
3
4 This is an experimental authentication module that does an asynchronous
5 HTTP call to verify username and password.
6
7 Details
8 =======
9
10 When a user attempts to authenticate to Prosody, this module takes the
11 username and password and does a HTTP GET request with [Basic
12 authentication][rfc7617] to the configured `http_auth_url`.
13
14 Configuration
15 =============
16
17 ``` {.lua}
18 VirtualHost "example.com"
19 authentication = "http_async"
20 http_auth_url = "http://example.com/auth"
21 ```
22