OAuth support for user authentication for ejabberd?

Is there a way to use the OAuth API for some social web services like facebook to authenticate users for ejabberd ?? One thing (but not feasible) that we can do is that after facebook authenticates the user, then only xmpp should connect to ejabberd (with the ejabberd external_auth module, which allows you to simply bypass authentication), but then how ejabberd will support this user information for messaging / presence information with your friends, as it will only receive access_token from facebook instead of username / password

Any possible approach

Thanks in advance!

+4
source share

Source: https://habr.com/ru/post/1492090/


All Articles