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

SSO login uses in-memory cache which breaks with multiple workers #9427

Open
richvdh opened this issue Feb 17, 2021 · 0 comments
Open

SSO login uses in-memory cache which breaks with multiple workers #9427

richvdh opened this issue Feb 17, 2021 · 0 comments
Labels
A-Workers Problems related to running Synapse in Worker Mode (or replication) T-Task Refactoring, removal, replacement, enabling or disabling functionality, other engineering tasks.

Comments

@richvdh
Copy link
Member

richvdh commented Feb 17, 2021

When you register a new account via SSO, we keep some state in memory (the 'username picker session'), so you have to make sure that all endpoints which use that state hit the same worker. It also means that restarts of that worker will break the sessions of any users trying to register at that point.

@erikjohnston erikjohnston added the T-Task Refactoring, removal, replacement, enabling or disabling functionality, other engineering tasks. label Feb 18, 2021
@MadLittleMods MadLittleMods added the A-Workers Problems related to running Synapse in Worker Mode (or replication) label May 3, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A-Workers Problems related to running Synapse in Worker Mode (or replication) T-Task Refactoring, removal, replacement, enabling or disabling functionality, other engineering tasks.
Projects
None yet
Development

No branches or pull requests

3 participants