Expose the experimental appservice login flow to clients. (#8504)

This commit is contained in:
Patrick Cloke 2020-10-19 13:03:55 -04:00 committed by GitHub
parent 903d11c43a
commit 8f27b7fde1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 0 deletions

View file

@ -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):