diff options
author | Quentin Gliech <quenting@element.io> | 2022-09-16 14:29:03 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-16 12:29:03 +0000 |
commit | 74f60cec92c5aff87d6e74d177e95ec5f1a69f2b (patch) | |
tree | 52e7531244978963397cc701d500f9d07c74a711 /synapse/rest/admin/__init__.py | |
parent | Update request log format documentation to mention the format used when the a... (diff) | |
download | synapse-74f60cec92c5aff87d6e74d177e95ec5f1a69f2b.tar.xz |
Add an admin API endpoint to find a user based on its external ID in an auth provider. (#13810)
Diffstat (limited to 'synapse/rest/admin/__init__.py')
-rw-r--r-- | synapse/rest/admin/__init__.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/synapse/rest/admin/__init__.py b/synapse/rest/admin/__init__.py index bac754e1b1..885669f9c7 100644 --- a/synapse/rest/admin/__init__.py +++ b/synapse/rest/admin/__init__.py @@ -80,6 +80,7 @@ from synapse.rest.admin.users import ( SearchUsersRestServlet, ShadowBanRestServlet, UserAdminServlet, + UserByExternalId, UserMembershipRestServlet, UserRegisterServlet, UserRestServletV2, @@ -275,6 +276,7 @@ def register_servlets(hs: "HomeServer", http_server: HttpServer) -> None: ListDestinationsRestServlet(hs).register(http_server) RoomMessagesRestServlet(hs).register(http_server) RoomTimestampToEventRestServlet(hs).register(http_server) + UserByExternalId(hs).register(http_server) # Some servlets only get registered for the main process. if hs.config.worker.worker_app is None: |