Support SAML in the user interactive authentication workflow. (#7102)

This commit is contained in:
Patrick Cloke 2020-04-01 08:48:00 -04:00 committed by GitHub
parent 468dcc767b
commit b9930d24a0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 227 additions and 44 deletions

View file

@ -263,7 +263,11 @@ class SigningKeyUploadServlet(RestServlet):
body = parse_json_object_from_request(request)
await self.auth_handler.validate_user_via_ui_auth(
requester, request, body, self.hs.get_ip_from_request(request),
requester,
request,
body,
self.hs.get_ip_from_request(request),
"add a device signing key to your account",
)
result = await self.e2e_keys_handler.upload_signing_keys_for_user(user_id, body)