17 Commits

Author SHA1 Message Date
Joshua M. Boniface
1010ef4e8f Update set_profile_displayname to use UserID type
This is required as the function was updated to take this explicit type,
rather than just the localpart, in matrix-org/synapse#15458 as part of
version 1.83.

This is stacked atop #10 to ensure everything is updated.
2023-05-24 23:49:23 -04:00
David Mehren
b6bdebbc4a Port to new module API
This ports the auth provider to the new module API of Synapse 1.46+.

Docs: https://matrix-org.github.io/synapse/latest/modules/password_auth_provider_callbacks.html

Based on 6c29f4dedd by @anishihara

Fixes https://github.com/ma1uta/matrix-synapse-rest-password-provider/issues/9
2021-11-23 11:54:13 +01:00
Jack O'Sullivan
893473b236 Use async instead of twisted defer 2020-09-29 13:14:05 +01:00
Anatoliy Sablin
c782c84aea Revert "async/await check_password"
This reverts commit 8e4718ae
2020-08-02 16:09:25 +03:00
Julian Strobl
8e4718ae72 async/await check_password
Was introduced in Synapse v1.15.0.

This may be related to:
* https://github.com/ma1uta/matrix-synapse-rest-password-provider/issues/1
2020-07-15 19:31:33 +02:00
Anatoly Sablin
ed377fb705 Temporary fix for authentication. Update readme. Add gitignore. 2020-01-24 01:08:15 +03:00
Max Dor
6f864e89c8 Adapt license 2019-05-18 01:46:21 +02:00
PeerD
25ebf58b7f replace 3pid option
Adds the option to replace 3pid from the external datasource in synapse. In this case, all 3pids that are not listed in the external store are deleted from synapse on login.
2019-02-21 16:58:09 +01:00
Max Dor
f87df5204e Allow toggle to enable/disable merging 3PIDs in profile 2019-02-19 22:29:55 +01:00
Maxime Dor
46e68c4cbe Fix for synapse >= v0.24 2017-10-24 11:05:38 +02:00
Maxime Dor
8efcda5967 Enforce lowercase username registration policy 2017-10-08 04:58:35 +02:00
Maxime Dor
83cb8bfce2 Profile auto-fill improvements 2017-10-08 04:52:08 +02:00
Maxime Dor
1f50fe0c1b Add other possible exception when parsing config 2017-09-26 20:51:18 +02:00
Maxime Dor
be8669d549 Fix variables not proper set 2017-09-26 18:18:13 +02:00
Maxime Dor
fbcf21b5b3 Add ability to enforce lowercase usernames on registration 2017-09-26 14:49:32 +02:00
Maxime Dor
4b9d9be7be Feed profile data (display name, 3PIDs) within synapse 2017-09-26 04:21:55 +02:00
Maxime Dor
1b9459824c Initial code 2017-08-30 22:15:22 +02:00