I have ejabberd-16.09.13 i followed up oauth documentations and when i try to create a token with the correct admin login to takes me to /oauth/authorization_token when i do with wrong password it takes me to
url i request :
url on wrong password :
url on correct login :
this is part of my .yml file
-
port: 4560
module: ejabberd_xmlrpc
access_commands: {}
-
port: 8080
module: ejabberd_http
request_handlers:
"/websocket": ejabberd_http_ws
"/log": mod_log_http
# OAuth support:
"/oauth": ejabberd_oauth
# ReST API:
"/api": mod_http_api
"/register": mod_register_web
## "/pub/archive": mod_http_fileserver
web_admin: true
http_bind: true
## register: true
captcha: true
commands_admin_access: configure
commands:
- add_commands: user
oauth_expire: 3600
oauth_access: all
mod_admin_extra: {}
please advice
with ejabberdctl live i am
with ejabberdctl live i am able to identify this error
16:35:52.780 [error] CRASH REPORT Process <0.464.0> with 0 neighbours crashed with reason: no function clause matching ejabberd_commands:expand_commands(user, [], [get_offline_count,get_roster,user_resources], [connected_users,connected_users_number,incoming_s2s_number,muc_online_rooms,num_active_users,outgoing_s2s_number,...], [add_rosteritem,backup,ban_account,change_password,change_room_option,check_account,check_password,...]) line 794
Hi, i am having the same
Hi, i am having the same exact error as you. Have u resolve the error ?