Skip to content

feat(xmpp): pass all user identity fields from JWT context#2992

Open
mihhu wants to merge 1 commit intojitsi:masterfrom
mihhu:full-user-context
Open

feat(xmpp): pass all user identity fields from JWT context#2992
mihhu wants to merge 1 commit intojitsi:masterfrom
mihhu:full-user-context

Conversation

@mihhu
Copy link
Member

@mihhu mihhu commented Mar 16, 2026

Extract all fields from <identity><user> presence node instead of filtering to only specific fields (id, name, avatar). This allows custom JWT context.user fields to propagate through to the application.

Description

  • Modified extractIdentityInformation to iterate all user children
  • Maintained conditional logic for hidden-from-recorder field

Related Issue

Not an issue, just giving possibility to access full JWT context for API events such as PARTICIPANT_JOINED.

Motivation and Context

See above.

How Has This Been Tested?

Symlink with jitsi-meet iframe.

Screenshots or GIF (In case of UI changes):

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

@jitsi-jenkins
Copy link

Hi, thanks for your contribution!
If you haven't already done so, could you please make sure you sign our CLA (https://jitsi.org/icla for individuals and https://jitsi.org/ccla for corporations)? We would unfortunately be unable to merge your patch unless we have that piece :(.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants