Can someone help me with setting up oauth?
I have set up this in ejabberd.yml
-
# Using a separate port for oauth and API to make it easy to protect it
# differently than BOSH and Websocket HTTP interface.
port: 5281
ip: "127.0.0.1"
module: ejabberd_http
request_handlers:
"/oauth": ejabberd_oauth
"/api": mod_http_api
commands_admin_access:
- allow:
- user: "admin@domain.com"
commands:
- add_commands: [user, admin, open]
auth_expire: 31536000
oauth_access: all