Things which should need upstream pull requests #38
Labels
coding
requires coding
matrix-ecosystem
Improvements to Matrix as a whole, not MIT or Uplink-specific
P3
priority 3 (nice to have but doesn't block launch)
Changing "SAML" to "Touchstone"
Currently, the name of the sign in provider is hardcoded to SAML.
Patch/hotfix:
https://github.com/matrix-org/synapse/blob/develop/synapse/handlers/saml.py#L77
Change the hardcoded name from SAML to Touchstone
Actual solution:
Make it read the name from the config, and default to "SAML". Add a new configuration parameter. Make this for the user-facing icon/brand too and add the same patch to CAS too.
Allow changing your display name on first login
Patch:
Modify the template to include a name field. Thinking code could look like this:
session.display_name = given_display_name
https://github.com/matrix-org/synapse/blob/fa8616e65c82367712a7b75c62682a89541b6330/synapse/handlers/sso.py#L895Actual solution:
Talk in synapse-dev room and figure out what the best config options would be, what the best visuals and CSS would be in general. Make another pull request (once the first one is merged) to:
confirm_localpart
1, 2 and 3 should be independent from each other and not mutually exclusive. The homeserver admin should be able to configure it to only allow changing display names, or only localpart or only the 3 of them and so on.
Maybe
confirm_localpart
could be #1,confirm_display_name
could be #2, andconfirm_email
could be #3, but this would require changing the behavior ofconfirm_localpart
, and I'm unsure if backwards compatibility is needed.Alternative (or addition) that would allow for the other checkboxes to exist too without needing source code modification: allow for Synapse plugins to customize the signup experience, so everyone can ask for whatever things they want and add a callback for those things
--
Upstream issue to the above: matrix-org/synapse#14790
The text was updated successfully, but these errors were encountered: