Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

realm: Add session room property to realm JWTs #2058

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

backspace
Copy link
Contributor

@backspace backspace commented Jan 17, 2025

This includes the realm-to-user room id when encoding the JWT. This will let us verify provenance when processing events that have moved from SSE to Matrix.

The issue called for the property to be called roomId but since the realm server JWT uses sessionRoom, I used that instead.

The issue suggests `roomId` but the realm server token already
has a property with this name.
@backspace backspace added the enhancement New feature or request label Jan 17, 2025
@backspace backspace self-assigned this Jan 17, 2025
Copy link

Host Test Results

    1 files  ±0      1 suites  ±0   21m 28s ⏱️ -12s
729 tests ±0  727 ✔️ ±0  2 💤 ±0  0 ±0 
734 runs  ±0  732 ✔️ ±0  2 💤 ±0  0 ±0 

Results for commit 41b863c. ± Comparison against base commit cc54e6e.

@backspace backspace marked this pull request as ready for review January 17, 2025 21:53
@backspace backspace requested a review from a team January 17, 2025 21:53
@tintinthong tintinthong requested a review from a team January 18, 2025 15:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants