synapse-product/synapse
Erik Johnston 590fbbef03 Add config to create guest account on 3pid invite
Currently, when a 3pid invite request is sent to an identity server, it
includes a provisioned guest access token. This allows the link in the,
say, invite email to include the guest access token ensuring that the
same account is used each time the link is clicked.

This flow has a number of flaws, including when using different servers
or servers that have guest access disabled.

For now, we keep this implementation but hide it behind a config option
until a better flow is implemented.
2016-03-14 15:50:40 +00:00
..
api Send the user ID matching the guest access token, since there is no Matrix API to discover what user ID an access token is for. 2016-03-07 17:13:56 +00:00
app Use syntax that works on both py2.7 and py3 2016-03-07 20:13:10 +00:00
appservice Fix flake8 warnings for new flake8 2016-02-02 17:18:50 +00:00
config Add config to create guest account on 3pid invite 2016-03-14 15:50:40 +00:00
crypto Make key client send a Host header 2016-03-11 10:29:05 +00:00
events Atomically persit push actions when we persist the event 2016-02-09 16:19:15 +00:00
federation Use parse_json_object_from_request to parse JSON out of request bodies 2016-03-11 16:41:03 +00:00
handlers Add config to create guest account on 3pid invite 2016-03-14 15:50:40 +00:00
http Fix regression where synapse checked whether push rules were valid JSON before the compatibility hack that handled clients sending invalid JSON 2016-03-14 14:16:41 +00:00
metrics copyrights 2016-01-07 04:26:29 +00:00
push Make select more sensible when dseleting access tokens, rename pusher deletion to match access token deletion and make exception arg optional. 2016-03-11 14:34:09 +00:00
replication s/stream_ordering/event_stream_ordering/ in push 2016-03-04 16:15:23 +00:00
rest Fix regression where synapse checked whether push rules were valid JSON before the compatibility hack that handled clients sending invalid JSON 2016-03-14 14:16:41 +00:00
static/client Updates to fallback CAS login to do new token login 2015-11-06 09:57:17 +00:00
storage Thats not how transactions work. 2016-03-11 16:45:27 +00:00
streams Hook up the push rules to the notifier 2016-03-03 14:57:45 +00:00
util Return list, not generator. 2016-03-14 15:30:19 +00:00
__init__.py Bump version and changelog 2016-02-11 16:04:15 +00:00
notifier.py Hook up the push rules to the notifier 2016-03-03 14:57:45 +00:00
python_dependencies.py Pin pysaml2 version to 3.x 2016-03-09 11:54:56 +00:00
server.py Fix flake8 warnings for new flake8 2016-02-02 17:18:50 +00:00
state.py Fix flake8 warnings for new flake8 2016-02-02 17:18:50 +00:00
types.py Hook up the push rules to the notifier 2016-03-03 14:57:45 +00:00