I have read all questions and answers what I can find, but oauth still not working. this is config ejabberd.yml.
port: 5280
module: ejabberd_http
request_handlers:
"/websocket": ejabberd_http_ws
"/log": mod_log_http
# OAuth support:
"/oauth": ejabberd_oauth
# ReST API:
"/api": mod_http_api
## "/pub/archive": mod_http_fileserver
web_admin: true
http_bind: true
## register: true
captcha: false
commands_admin_access: configure
commands:
- add_commands: user
oauth_expire: 3600
oauth_access: all
when I open this url shows html form, where I write jid,password and Token TTL(one hours). after clicking accept url redirecting http://192.168.217.128:5280/?error=access_denied&state=
What I am doing wrong?
I think this specific parameters place is wrong. If its like this, I do not understand where to put.
commands_admin_access: configure
commands:
- add_commands: user
oauth_expire: 3600
oauth_access: all
Sorry for my english.