Multiple JWT users cannot see each other - NEED HELP!

I have configured my system so that only users with JWT tokens can enter a room. Each user is given a unique JWT token that is comprised of user different user information ( name, email, avatar )

context: {
			user: {
				avatar: attendee.avatar,
				name: attendee.name,
				email: attendee.email
			}
		},
		aud: video_url,
		iss: app_id,
		sub: video_url,
		room: room

The params such as room are the same for all users

Everything works fine ( authentication and room creation ) except none of the users can see one another!
Each user can see the thumbnail and all the controls perfectly but they are always ALONE in the room.

Note: Tried using the same user ( same JWT token ) to login into the same room from different browsers and they were able to see one another!!!

Note 2: I allowed anonymous guests without jwt token ( after a moderator with a JWT token opens the room ) and they all were able to see each other

So it seems to me that it is a problem with having multiple jwt users!

Thanks,
Art

@damencho @mgg

probably, prosody config issue…

So I am seeing an error in the prosody.log

Oct 15 05:24:59 conference.conf.cogency.io:muc_domain_mapper	warn	Session filters applied
Oct 15 05:24:59 c2s55df2e9a4590	info	Client connected
Oct 15 05:25:00 c2s55df2e9a4590	info	Stream encrypted (TLSv1.2 with ECDHE-RSA-AES128-GCM-SHA256)
Oct 15 05:25:00 c2s55df2e9a4590	info	Authenticated as focus@auth.conf.cogency.io
Oct 15 05:25:00 conference.conf.cogency.io:muc_domain_mapper	warn	Session filters applied
Oct 15 05:25:00 c2s55df2e73c800	info	Client connected
Oct 15 05:25:00 focus.conf.cogency.io:component	warn	Component not connected, bouncing error for: <iq to='focus.conf.cogency.io' id='roXwd-39' from='focus@auth.conf.cogency.io/focus2808979408215158' type='get'>
Oct 15 05:25:00 c2s55df2e73c800	info	Stream encrypted (TLSv1.2 with ECDHE-RSA-AES128-GCM-SHA256)
Oct 15 05:25:00 c2s55df2e73c800	info	Authenticated as jvb@auth.conf.cogency.io
Oct 15 05:25:00 jcp55df2ed14990	info	Incoming Jabber component connection
Oct 15 05:25:00 focus.conf.cogency.io:component	info	External component successfully authenticated
Oct 15 05:25:00 mod_bosh	info	Client tried to use sid 'e98b44a2-0da2-4b1b-85a6-6abaa24d5039' which we don't know about
Oct 15 05:25:06 mod_bosh	info	Client tried to use sid 'e98b44a2-0da2-4b1b-85a6-6abaa24d5039' which we don't know about
Oct 15 05:25:14 conference.conf.cogency.io:muc_domain_mapper	warn	Session filters applied
Oct 15 05:25:14 mod_bosh	info	New BOSH session, assigned it sid '62915f7f-2deb-456e-8a80-d38166d9655b'
Oct 15 05:25:14 bosh62915f7f-2deb-456e-8a80-d38166d9655b	info	Authenticated as c924e78e-0310-42ad-8a58-d107a485b2df@conf.cogency.io
Oct 15 05:25:20 bosh62915f7f-2deb-456e-8a80-d38166d9655b	info	BOSH client disconnected: session close
Oct 15 05:25:20 speakerstats.conf.cogency.io:speakerstats_component	warn	A module has been configured that triggers external events.
Oct 15 05:25:20 speakerstats.conf.cogency.io:speakerstats_component	warn	Implement this lib to trigger external events.
Oct 15 05:25:23 conference.conf.cogency.io:muc_domain_mapper	warn	Session filters applied
Oct 15 05:25:23 mod_bosh	info	New BOSH session, assigned it sid '109f071e-9ae5-433f-8630-34e1fba47c4b'
Oct 15 05:25:24 bosh109f071e-9ae5-433f-8630-34e1fba47c4b	info	Authenticated as ad7af644-33b7-48bb-93b1-30de7c8a8857@conf.cogency.io
Oct 15 05:25:24 conference.conf.cogency.io:muc_domain_mapper	warn	Session filters applied
Oct 15 05:25:24 mod_bosh	info	New BOSH session, assigned it sid '6bf00e24-d9e5-4f0e-bfcc-ad23a16bfa8e'
Oct 15 05:25:24 bosh6bf00e24-d9e5-4f0e-bfcc-ad23a16bfa8e	info	Authenticated as fe12b61c-7351-423c-91ff-fb8ec3c5fa75@conf.cogency.io
Oct 15 05:25:29 mod_bosh	error	Traceback[bosh]: /usr/lib/prosody/util/stanza.lua:62: invalid text value: expected string, got userdata
stack traceback:
	[C]: in function 'error'
	/usr/lib/prosody/util/stanza.lua:62: in function 'check_text'
	/usr/lib/prosody/util/stanza.lua:141: in function 'add_direct_child'
	/usr/lib/prosody/util/stanza.lua:120: in function 'text'
	/usr/share/jitsi-meet/prosody-plugins/util.lib.lua:133: in function 'update_presence_identity'
	...are/jitsi-meet/prosody-plugins/mod_presence_identity.lua:11: in function '?'
	/usr/lib/prosody/util/events.lua:79: in function </usr/lib/prosody/util/events.lua:75>
	(...tail calls...)
	/usr/lib/prosody/core/stanza_router.lua:176: in function 'core_post_stanza'
	/usr/lib/prosody/core/stanza_router.lua:127: in function 'dispatch_stanza'
	/usr/lib/prosody/modules/mod_bosh.lua:305: in function 'func'
	/usr/lib/prosody/util/async.lua:127: in function </usr/lib/prosody/util/async.lua:125>
stack traceback:
	/usr/lib/prosody/util/async.lua:211: in function 'run'
	/usr/lib/prosody/modules/mod_bosh.lua:447: in function 'cb_handlestanza'
	/usr/lib/prosody/util/xmppstream.lua:182: in function </usr/lib/prosody/util/xmppstream.lua:162>
	[C]: in function 'parse'
	/usr/lib/prosody/util/xmppstream.lua:282: in function 'feed'
	/usr/lib/prosody/modules/mod_bosh.lua:133: in function '?'
	/usr/lib/prosody/util/events.lua:79: in function </usr/lib/prosody/util/events.lua:75>
	(...tail calls...)
	/usr/lib/prosody/net/http/server.lua:228: in function </usr/lib/prosody/net/http/server.lua:176>
	[C]: in function 'xpcall'
	/usr/lib/prosody/net/http/server.lua:108: in function 'process_next'
	/usr/lib/prosody/net/http/server.lua:124: in function 'success_cb'
	/usr/lib/prosody/net/http/parser.lua:177: in function 'feed'
	/usr/lib/prosody/net/http/server.lua:155: in function </usr/lib/prosody/net/http/server.lua:154>
	(...tail calls...)
	/usr/lib/prosody/net/server_select.lua:915: in function </usr/lib/prosody/net/server_select.lua:899>
	[C]: in function 'xpcall'
	/usr/bin/prosody:76: in function 'loop'
	/usr/bin/prosody:86: in main chunk
	[C]: in ?