I’m working on a little lua module in prosody to log presence events, where I’d like to figure out if a user is authenticated and get at some jwt data. I have a setup with Keycloak authentication to play with but the presence events I see coming in are no different from anonymous users. Is there a way to see the difference? Are there other events I should be looking for?
For clarity, I’m subscribed for presence events with module:hook(“presence/full”, on_event); This results in XML data for things like join/leave etc.