Hi Jitsi Team,
What is the recommended approach to pass an application user ID through the Jitsi stack for associating streams, recordings etc. with parent application user accounts?
Using the application user ID as JID. Two approaches:
a) Connecting to the application user store upon XMPP auth via a prosody auth module (modules.prosody.im/type_auth.html)
b) Setting the JID for anonymous XMPP. This does not appear to be supported by Prosody (prosody.im/doc/anonymous_logins), but Jitsi Token auth is sending a user context (github.com/jitsi/lib-jitsi-meet/blob/master/doc/tokens.md#payload), so I’m wondering how this context is being used and whether it can be used to set the JID? cc @damencho
Using anonymous auth in Prosody and passing the application user ID via a presence extension, such as the display name/nick. This approach would obviously not keep an XMPP user data history across prosody sessions.
Thanks for all the great OSS work!