Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Remove trust_identity_server_for_password_resets #10545

Closed
richvdh opened this issue Aug 5, 2021 · 6 comments · Fixed by #11333
Closed

Remove trust_identity_server_for_password_resets #10545

richvdh opened this issue Aug 5, 2021 · 6 comments · Fixed by #11333
Assignees
Labels
T-Task Refactoring, removal, replacement, enabling or disabling functionality, other engineering tasks.

Comments

@richvdh
Copy link
Member

richvdh commented Aug 5, 2021

The trust_identity_server_for_password_resets setting was deprecated in Synapse 1.4.0, nearly two years ago. We should remove the legacy code which supports that option.

@babolivier babolivier added the T-Task Refactoring, removal, replacement, enabling or disabling functionality, other engineering tasks. label Aug 10, 2021
@richvdh
Copy link
Member Author

richvdh commented Nov 11, 2021

recommend refusing to start if this is set, rather than silently changing behaviour for existing deploys.

@anoadragon453
Copy link
Member

Sorry to rain on this parade a bit, but @babolivier could you check whether DINUM still rely on this option? I made a linked (private) issue above that suggests that they do.

@H-Shay
Copy link
Contributor

H-Shay commented Nov 15, 2021

I have a PR up for this but I can leave it in draft until this gets clarified.

@richvdh
Copy link
Member Author

richvdh commented Nov 16, 2021

I think we should go ahead with this on synapse mainline anyway. DINUM are still on a fork, so if this is a real problem for them we can patch out the change there.

@babolivier
Copy link
Contributor

DINUM are still on a fork, so if this is a real problem for them we can patch out the change there.

I disagree. We're currently trying very hard to bring DINUM's fork closer to Synapse, or at least to stop it from diverging too much, and creating a new point of divergence would be counter-productive. If we remove it from mainline, I'd rather we make sure it's not going to bite them next time they update.

@babolivier
Copy link
Contributor

@giomfo and I had a look at Synapse's config for DINUM and it looks like it's be all good to get rid of trust_identity_server_for_password_resets 👍

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
T-Task Refactoring, removal, replacement, enabling or disabling functionality, other engineering tasks.
Projects
None yet
4 participants