Hi team,
i met a issue authentication  when config prosody to authentication
mod_auth_custom_http.
but message auth server recept is incorect format.

21/01/2019 20:33:56 body:
{"{\"username\":\"quyetnc\",\"password\":\"123456\"}":""},undefined
connected, email not exist

Correct format is:

21/01/2019 10:3:4 body:
{"username":"ncquyet512","password":"12345678"},ncquyet512 connected,
authen success

My prosody config is:

authentication = "custom_http"
        auth_custom_http = {
        post_url = "http://35.xxx.yyy.240:3000/checkUserinCore";;
        }

Pls, tell me how can config it.

-- 
You received this message because you are subscribed to the Google Groups 
"prosody-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/prosody-dev.
For more options, visit https://groups.google.com/d/optout.

Attachment: json.lua
Description: Binary data

Attachment: mod_auth_custom_http.lua
Description: Binary data

Reply via email to