Repository navigation
Conversation
POST /_synapse/client/invite_guests/link creates one unlimited, passwordless MAS registration token with the guest username template and returns its `invite_url`. This backs the "Copy invite link" button. It applies the caller and room checks of invite_guests, which move to a shared method, and is served when email invites are on. MAS's user-registration-tokens endpoint doesn't take `room_id` yet and ignores it, so the guest isn't sent to the room after registering until MAS accepts it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…st-invite-link Both sides add a `MasAdminClient.create_registration_token`. They become one, which mints a passwordless token for a room with an optional address, usage limit and expiry, and returns its ID and link. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01R27QDzJTWSBxkrfbxBxcKF
invite_guests/link\ endpoint for shareable guest invite linksinvite_guests/link endpoint for shareable guest invite links
…st-invite-link Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FqDpJbhpnnpDdaZJxvxaNh
As for email invites, MAS now takes a registration token's username as a
minijinja template, with `random` as its variable, and refuses the old
`{random}` placeholder when minting.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FqDpJbhpnnpDdaZJxvxaNh
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds
POST /_synapse/client/invite_guests/link, which returns a link inviting guests to a room, for the caller to share. It backs the "Copy invite link" button in the restricted-guests Element Web module.Needs element-hq/matrix-authentication-service#6026, whose registration token admin API takes the
room_id.