Skip to content
Snippets Groups Projects
Unverified Commit 8f27b7fd authored by Patrick Cloke's avatar Patrick Cloke Committed by GitHub
Browse files

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

parent 903d11c4
No related branches found
No related tags found
No related merge requests found
Expose the `uk.half-shot.msc2778.login.application_service` to clients from the login API. This feature was added in v1.21.0, but was not exposed as a potential login flow.
......@@ -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):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment