Closed marcotuna closed 6 years ago
It seems that you are trying to login using an account that is defined in a vhost where that auth wasn't started.
Show me:
I managed to solve that problem. I was missing the certificates configuration.
Now it is reaching my API Server
/api/ejabberd/get_password?user=username&server=server.com&pass=
I tried to return status code 200, return true in the body, password but nothing seems to work. Is there any examples?
2017-11-13 11:39:35.204 [info] <0.6648.0>@ejabberd_listener:accept:302 (<0.6780.0>) Accepted connection 10.0.44.2:30579 -> 192.168.45.7:5222
2017-11-13 11:39:36.765 [error] <0.6781.0>@ejabberd_auth:get_password_with_authmodule:345 gen_server <0.6781.0> terminated with reason: no case clause matching {<<"true">>,ejabberd_auth_http} in ejabberd_auth:get_password_with_authmodule/2 line 345
ejabberd_auth_http is not updated to last ejabberd_auth API
see patch on https://github.com/processone/ejabberd-contrib/issues/228. maybe enough to fix that module. A clean PR would be best for integration.
Hello, I configured ejabberd_auth_http however when I try to access IP:5280/admin it displays an error. Version: ejabberd-17.08 Operating System: FreeBSD 11.0-RELEASE-p1