34 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
ma1uta
3524b4772a Merge pull request #8 from devplayer0/master
Fix for Synapse v1.19.0+
2021-10-11 20:54:26 +03: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
v0.1.4
2020-08-02 16:09:25 +03:00
ma1uta
092d8f664a Merge pull request #3 from jmastr/async_await_check_password
async/await check_password
2020-07-26 17:03:52 +00: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
ma1uta
5d66d6972b Merge pull request #2 from halkeye/add-setuppy
Add setup.py for easier install (No need to figure out paths)
v0.1.3
2020-03-29 13:15:25 +00:00
Gavin Mogan
72d434956a Add setup.py for easier install (No need to figure out paths) 2020-03-26 12:01:05 -07:00
Anatoly Sablin
ed377fb705 Temporary fix for authentication. Update readme. Add gitignore. 2020-01-24 01:08:15 +03:00
Max Dor
d99b856cd9 The End 2019-06-21 14:36:38 +02:00
Max Dor
6f864e89c8 Adapt license 2019-05-18 01:46:21 +02:00
Max Dor
776f3da0de Merge pull request #8 from PeerD/patch-1
Add option to replace 3PIDs in synapse if removed/changed in the backend
2019-03-13 21:15:27 +01:00
PeerD
d21a5534d6 Updated Readme.md for 3PID replacement option 2019-02-21 17:02:07 +01: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
5ae0be505d Improve readme v0.1.2 2019-02-19 22:41:16 +01:00
Max Dor
f87df5204e Allow toggle to enable/disable merging 3PIDs in profile 2019-02-19 22:29:55 +01:00
Max Dor
3d5fe63d01 Fix possibly failing curl command 2019-02-14 17:26:57 +01:00
Max Dor
3e0b0b21be Add instructions for Synapse v0.34.0 switch to py3 2018-12-20 23:49:23 +01:00
Max Dor
38b551bac9 Update README with latest relevant info 2018-11-14 04:13:02 +01:00
Maxime Dor
46e68c4cbe Fix for synapse >= v0.24 v0.1.1 2017-10-24 11:05:38 +02:00
Maxime Dor
8efcda5967 Enforce lowercase username registration policy v0.1.0 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
bfa5779426 better wording in README 2017-09-18 15:18:34 +02:00
Maxime Dor
649eb96da1 Improve README 2017-09-18 13:48:17 +02:00
Maxime Dor
9c2f91c9f4 Update README with Matrix community room 2017-08-31 02:31:50 +02:00
Maxime Dor
6837760adf Logo for the Matrix support room 2017-08-31 02:31:40 +02:00
Maxime Dor
1782a12ebe Fix README 2017-08-30 22:37:27 +02:00
Maxime Dor
ba39f7a7d2 Add license 2017-08-30 22:16:38 +02:00
Maxime Dor
1b9459824c Initial code 2017-08-30 22:15:22 +02:00