根据THIS SO ANSWER和Ejabberd Oauth DOCS,我对ejabberd.yml进行了更改。但是,每次我点击这个
http://localhost:5280/oauth/authorization_token?response_type=token&client_id=Client1&scope=get_roster+connected_users
网址,我在ejabberd日志中收到以下错误
[error] <0.487.0> CRASH REPORT Process <0.487.0> with 0 neighbours crashed with reason: call to undefined function ejabberd_oauth:process([<<"authorization_token">>], {request,'GET',[<<"oauth">>,<<"authorization_token">>],[{<<"response_type">>,<<"token">>},{<<"cli...">>,...},...],...})
我从未看到SO答案中显示的屏幕。我做错了什么?
答案 0 :(得分:0)