mirror of
https://mau.dev/maunium/synapse.git
synced 2024-10-01 01:36:05 -04:00
Expose the experimental appservice login flow to clients. (#8504)
This commit is contained in:
parent
903d11c43a
commit
8f27b7fde1
1
changelog.d/8504.bugfix
Normal file
1
changelog.d/8504.bugfix
Normal file
@ -0,0 +1 @@
|
|||||||
|
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())
|
({"type": t} for t in self.auth_handler.get_supported_login_types())
|
||||||
)
|
)
|
||||||
|
|
||||||
|
flows.append({"type": LoginRestServlet.APPSERVICE_TYPE})
|
||||||
|
|
||||||
return 200, {"flows": flows}
|
return 200, {"flows": flows}
|
||||||
|
|
||||||
def on_OPTIONS(self, request: SynapseRequest):
|
def on_OPTIONS(self, request: SynapseRequest):
|
||||||
|
Loading…
Reference in New Issue
Block a user