element-hq / element-hq/synapse

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

Open
#9,427 0 comments 0 reactions 0 assignees View on GitHub
A-Workers T-Task
Dominant language
Python
Stars
4.6k
Forks
600
Avg merge
5d 22h
Merged PRs (30d)
51

Description

This issue has been migrated from [#9427](https://github.com/matrix-org/synapse/issues/9427).

---

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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.