1
votes

I am trying to configure oauth in ejabberd 16.01. I managed to get the "/oauth/authorize_token" page, but as I fill the data in the form and click on "Accept" button it reloads the page with error "This page isn't working. ERR_EMPTY_RESPONSE".

ejjaberd oauth error page

I have tried to follow the official documentation. Here is my ejabberd.yml file https://www.dropbox.com/s/wy2ng2kq404jbfw/ejabberd.yml?dl=0

I have following questions:

  1. What am I doing wrong here?
  2. How to create client id for oauth?
  3. What goes in the field "server" of "/oauth/authorize_token" page?
1

1 Answers

0
votes
  1. What am I doing wrong here?

You are not giving correct values in web page. Eg. if your user is [email protected] and password is password then it can be mapped like this

User -> admin , Server -> test.com and Password -> password

  1. How to create client id for oauth?

Please go through page at https://docs.ejabberd.im/admin/guide/oauth/

3.What goes in the field "server" of "/oauth/authorize_token" page?

Already answered in 1