You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Added
Link a Matrix sender without link where the homeserver signs in only through the deployment's own OIDC provider (#3736). Map its server name to its client URL in MATRIX_OIDC_HOMESERVERS, and @ada:example.org, writing to a bot on that homeserver, is linked to the member whose sign-in carried the username ada, exactly as sent. A username belongs to the first account that presents it, so switch this on only for a provider that never reuses a username or lets people change their own. A username that a second account presents links nobody, and the links it made are undone; one its holder stops using links nobody new. A member with a second factor of their own keeps link, and so does everybody where every sign-in needs one (the MFA policy or OIDC_REQUIRED_ACR_VALUES). In organizations that require MFA, Matrix accounts must be linked manually.
Fixed
Keep channel metadata stable during tool rounds so providers can reuse the
prompt cache. After history compaction, the metadata stays available on the
first request that uses the compacted history.
Stop Matrix bots from replying to bot notices and files sent by other
AgenticOS bots. Bot replies and attachments remain part of the thread history.
Unlinking a chat account now holds on Microsoft Teams. Where Teams vouches for a sender's address, /unlink, unlinking in the account settings and revoking everything used to be undone by the next message; the account now stays unlinked until its owner links it again. Accounts unlinked before this release are marked as unlinked by the upgrade.
A Google sign-in no longer asks the provider's UserInfo endpoint for the groups claim OIDC_GROUPS_CLAIM names, and is no longer refused when that request fails: groups are read only from the deployment's own OIDC provider.
Security
Teams no longer links an account by its address when the member has a second factor of their own, or when every sign-in needs one (the deployment's MFA policy or OIDC_REQUIRED_ACR_VALUES): the link flow, confirmed from a session that passed the factor, links it instead.
Upgrading
Migration backend/alembic/versions/0401_oidc_vouch.py adds the oidc_usernames table and three columns to channel_identities: vouch_declined, vouch_declined_everywhere and vouched_username. With MATRIX_OIDC_HOMESERVERS set, each OIDC sign-in records the provider's preferred_username; the table fills as people sign in again. The migration marks every chat account that was linked once and is unlinked now as unlinked by its owner, so no platform links it again by itself.
The log event channel_vouched_email_failed is now channel_vouch_failed, and covers a failed username lookup too. Update an alert or a dashboard that matches the old name.