1888
|
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
|