summary refs log tree commit diff
path: root/synapse
diff options
context:
space:
mode:
authorPatrick Cloke <clokep@users.noreply.github.com>2020-10-19 13:03:55 -0400
committerGitHub <noreply@github.com>2020-10-19 13:03:55 -0400
commit8f27b7fde12978a7e5b3833a2d989a9b0456d857 (patch)
tree2192acc234c251943e9d9aa92a84645d8cf1bbe3 /synapse
parentAdd `DeferredCache.get_immediate` method (#8568) (diff)
downloadsynapse-8f27b7fde12978a7e5b3833a2d989a9b0456d857.tar.xz
Expose the experimental appservice login flow to clients. (#8504)
Diffstat (limited to 'synapse')
-rw-r--r--synapse/rest/client/v1/login.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/synapse/rest/client/v1/login.py b/synapse/rest/client/v1/login.py
index d7deb9300d..b82a4e978a 100644
--- a/synapse/rest/client/v1/login.py
+++ b/synapse/rest/client/v1/login.py
@@ -110,6 +110,8 @@ class LoginRestServlet(RestServlet):
             ({"type": t} for t in self.auth_handler.get_supported_login_types())
         )
 
+        flows.append({"type": LoginRestServlet.APPSERVICE_TYPE})
+
         return 200, {"flows": flows}
 
     def on_OPTIONS(self, request: SynapseRequest):