【发布时间】:2016-11-07 01:31:11
【问题描述】:
根据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 答案中显示的屏幕。我做错了什么?
【问题讨论】:
-
您使用的是哪个版本的 ejabberd?
-
Ejabberd 版本 15.04
-
版本 15.04 没有 oauth 功能。