According to THIS SO ANSWER and Ejabberd Oauth DOCS, I have made changes to ejabberd.yml. But, every time I hit this
http://localhost:5280/oauth/authorization_token?response_type=token&client_id=Client1&scope=get_roster+connected_users
URL, I get the following error in ejabberd logs
[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...">>,...},...],...})
I never see the screen as shown in the SO answer. What am I doing wrong?
As said in ejabberd oauth documentation:
OAuth support is available in ejabberd 15.09 and newest releases.
It will not work with ejabberd 15.04.