Open
Description
This issue has been migrated from #15904.
Description
synapse/handlers/register.py#L1008 need token to add email pusher.
But synapse/handlers/register.py#L392 doesn't provide any.
Steps to reproduce
- add
enable_notifs: true
andnotif_for_new_users: true
config - configure Synapse to accept SSO login
- provide SSO template for non-interactive registration (ie: localpart_template)
- provide SSO template for email
- login with a SSO account that provide some email attribute, according to prev config
- see that email notif are not enable => email pusher was not created at registration
Homeserver
matrix.org
Synapse Version
1.87
Installation Method
Docker (matrixdotorg/synapse)
Database
Workers
Single process
Platform
Configuration
No response
Relevant log output
-
Anything else that would be useful to know?
The creation of email pushers should not rely on a token when registering, there is no need to track devices for them (see matrix-org/synapse#15890)