In Ejabberd documentation, it states that:
"You can connect to ejabberd using an X-OAUTH2 token that is valid in the scope sasl_auth. You can use an OAuth token as generated in the previous steps instead of a password when connecting to ejabberd servers support OAuth SASL mechanism."
I am developing an android application. By following the ejabberd documentation, the token was successfully generated and was stored in the ejabberd database (oauth_token). I would like my android application to login to the user account using the token instead of password. As a result, when the application is close (server disconnected), the user will not need to re-login when they open the application again (server reconnecting).
Can anyone further explain how do i make my android application connect to ejabberd user account using authentication token ?
@mremond hi mickael, any
@mremond hi mickael, any advise on this ?