How to list all users from client when using external auth?

My application would be simple: A bunch of users would chatting among themselves, and everyone should be able to see a list of users who are online.

I looked at this: https://www.ejabberd.im/shared-roster-all, which adds all new users logging in to the "everyone" roster. But the @all@ hack does not work with `auth_method` external.

Can anyone advise me how to go about achieving this?

In layman terms, I need all my users to be able to see who else is online. That's what I want to achieve. But I'm using external authentication method.

Use @online@ instead of

Use @online@ instead of @all@

There's also the option extauth_cache, but I think in this case you don't need it.

Syndicate content